I don't remember....

M

MikeR

I don't remember FP2002 doing this before, and I don't like it. <vbg>

I open a site(not a file) on my local machine. I create a new page.
I choose Insert|Picture|From file (the only choice).
FP puts the link in as:

<img border="0"
src="file:///C:/Inetpub/wwwroot/MySite/images/Logos/Apic.jpg"
width="500" height="478">

When I save the page FP wants to save embedded images.

What I want is:
<img border="0" src="images/Logos/Apic.jpg" width="500" height="478">

What's changed/what am I doing wrong?

Thanks, Mike
 
M

MikeR

MikeR said:
I don't remember FP2002 doing this before, and I don't like it. <vbg>

I open a site(not a file) on my local machine. I create a new page.
I choose Insert|Picture|From file (the only choice).
FP puts the link in as:

<img border="0"
src="file:///C:/Inetpub/wwwroot/MySite/images/Logos/Apic.jpg"
width="500" height="478">

When I save the page FP wants to save embedded images.

What I want is:
<img border="0" src="images/Logos/Apic.jpg" width="500" height="478">

What's changed/what am I doing wrong?

Thanks, Mike

Further, when I use <img border="0" src="images/Logos/Apic.jpg"
width="500" height="478"> the pix then show up in FP normal view as
the notorious red X. Selecting Picture properties, General tab Browse
shows nothing (it's in the root), and I can't see any folders or drill
down.

Opening the site/page in a browser, all looks OK.
 
M

MikeR

Kathleen said:
You need to import the image into the images folder in your web site first,
and then insert it from that folder.
Hi Kathleen -
I did that.
 
R

Ronx

<img border="0"
src="file:///C:/Inetpub/wwwroot/MySite/images/Logos/Apic.jpg" width="500"
height="478">

This is correct - at this stage FrontPage has no idea where the page is
going to end up, and you are editing a file that only exists in the
FrontPage Temporary files folder, hence the absolute link to the image.

If you first save the page, and then add the image (I usually simply drag
the image from the images folder onto the page rather than use the menus)
the link will be as you want it:

<img border="0" src="images/Logos/Apic.jpg" width="500" height="478">

and since the image was dragged from within the web, there will be no need
to save embedded images.
 
R

Ronx

Another thing I just noticed:
The image path C:/Inetpub/wwwroot/MySite/images indicates that you may be
editing a server based website.
The menu Insert|Picture|From file will default to finding images on a
file path, not from server based website - unless you elect to search
through Network places and browse to the website you are actually editing.
C:\inetpub\wwwroot\mysite and http://localhost/mysite may be the same
physical location, but they are two different places - another reason for
the "save embedded images" dialogue.
 
M

MikeR

Kirk said:
You must publish the page, not save it. When you publish it, FP will correct
the absolute path (C:\....) and publish it with the web site path.
I can publish to the same site I'm editing?
 
M

MikeR

Ronx said:
This is correct - at this stage FrontPage has no idea where the page is
going to end up, and you are editing a file that only exists in the
FrontPage Temporary files folder, hence the absolute link to the image.

If you first save the page, and then add the image (I usually simply drag
the image from the images folder onto the page rather than use the menus)
the link will be as you want it:

<img border="0" src="images/Logos/Apic.jpg" width="500" height="478">

and since the image was dragged from within the web, there will be no need
to save embedded images.

Thanks Ron -
The mind is a terrible thing.....
 
M

MikeR

Ronx said:
Another thing I just noticed:
The image path C:/Inetpub/wwwroot/MySite/images indicates that you may be
editing a server based website.

Yeah - That's what REALLY threw me. It would have made sense to me if
it was a disk-based one.
The menu Insert|Picture|From file will default to finding images on a
file path, not from server based website - unless you elect to search
through Network places and browse to the website you are actually editing.
C:\inetpub\wwwroot\mysite and http://localhost/mysite may be the same
physical location, but they are two different places - another reason for
the "save embedded images" dialogue.

OK -
Thanks for the detail.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top