I don't remember....

  • Thread starter Thread starter MikeR
  • Start date Start date
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
 
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.
 
<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.
 
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.
 
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?
 
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.....
 
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.
 
Back
Top