Looking at C:\... for images after publishing

G

GLMoore

Using FP2002 on XP. I have one web I maintain using the combination, no
problems. A newer web is handing me a strange situation, hope there a fix
for this:

I have imported images into my web's images folder using the File>Import
function. I have added images to the 4 pages of the web using
Insert>Picture>From File.

The HTML should read: scr="images/abcd.gif" and it does ... UNTIL I save
the page and close the web. When I open it back up, that HTML now reads:
<img src="file:///C:/C******burys/images/contactbutton.gif"

I have gone into the HTML for each page and hand-edited the code to
correctly point to simply "image/contactbutton.gif". I close the page and
save it. I open the page -- once again the code refers to the C drive.

Publishing, of course, just carries this error up to the server. I have
corrected the published web by editing with FP, but that is not a long term
solution.

This does not happen with the other web on this same system -- is there some
setting specific to this new web that is forcing this reference to the hard
drive location for the image? How can I fix this?

Thanks if you can help.

GLMoore
 
T

Thomas A. Rowe

Make sure you have a web open (File Menu | Open Web) and not just a page.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
G

GLMoore

Yes, I do start by opening the web (using File>Recent Webs and selecting the
appropriate web).

I spent yesterday afternoon deleting the images and reinserting them on the
page, and checking to see whether the code for the src changed when I would
close and re-open the page. Here's what seemed to make the difference:

the images are being used as links ... if the link is established by
clicking the image and drawing a rectangular hot-spot on it using the
picture tools, then specifying the url to link to -- the code for that image
will change to reference the C drive.

OTOH, if I click the image and then CTRL+K to establish the target *without*
drawing the hotspot rectangle first, that code will not change when I close
the page and then re-open it.

Any idea what's at work here? Thanks for your assistance,

GLMoore
 
T

Thomas A. Rowe

See below inline.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


GLMoore said:
Yes, I do start by opening the web (using File>Recent Webs and selecting the
appropriate web).
Which version of FP are you using?
What happen if you use File Menu | Open Web?
I spent yesterday afternoon deleting the images and reinserting them on the
page, and checking to see whether the code for the src changed when I would
close and re-open the page. Here's what seemed to make the difference:

the images are being used as links ... if the link is established by
clicking the image and drawing a rectangular hot-spot on it using the
picture tools, then specifying the url to link to -- the code for that image
will change to reference the C drive.
Unless there is a specific need to create a image map, such a map image
where you need to have multiple links, avoid this option, as it add
additional code to your pages
OTOH, if I click the image and then CTRL+K to establish the target *without*
drawing the hotspot rectangle first, that code will not change when I close
the page and then re-open it.
This is the best approach and doesn't add any extra code other than the
link.
 

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