Forums

This topic is locked

image disappears once link is changed from local to site

Posted 12 Oct 2009 22:51:02
1
has voted
12 Oct 2009 22:51:02 Jennifer Bublitz posted:
I have an image in my HTML document. It is linked to my local folder. If I upload this image to the webserver and then come back and change my link from local root to a site link (i.e. from /images/xyz.jpg to www.website.com/images/xyz.jpg), the image appears just fine. However, if I do this in reverse order, meaning I change the name of the link first, then upload the image, my image disappears, replaced by an image placeholder. And I cannot for the life of me get this image to reappear. What am I doing wrong?

Replies

Replied 13 Oct 2009 12:59:47
13 Oct 2009 12:59:47 Patrick Julicher replied:
Hi Jennifer,

Could you post the link to your page, so we can have a look at it?

Kind regards, Patrick
Replied 14 Oct 2009 15:48:10
14 Oct 2009 15:48:10 Jennifer Bublitz replied:
Here is the URL: sipec-events.com/files/sorry_thank_you_rev1.html. So when I view this in Dreamweaver, the styles don't show up and the logo doesn't show up.
Replied 14 Oct 2009 20:30:59
14 Oct 2009 20:30:59 Patrick Julicher replied:
Hi Jennifer,

I cannot picture what you are trying to do. Why not just use relative links instead of absolute ones.

Try changing your links from
<img src="http://www.sipec-events.com/files/artwork/sii_internet_keyvisual.jpg" alt="" width="144" height="144" />

into
<img src="artwork/sii_internet_keyvisual.jpg" alt="" width="144" height="144" />


This should work both locally as well as on your server. Because all your files are located in the files folder, that is your startingpoint and from thereon you start linking to folders and files.

Kind regards, Patrick
Replied 14 Oct 2009 23:09:00
14 Oct 2009 23:09:00 Jennifer Bublitz replied:
Because this page won't be under the same domain as the images. I just put it there now so you could see what I am working on. When you pull down my code onto your computer, do all the images show up, and do the styles appear to be working?
Replied 15 Oct 2009 08:28:50
15 Oct 2009 08:28:50 Patrick Julicher replied:
Hi Jennifer,

When I copy the source code from your page and paste it in a new DW CS4 page, all of the images appear. Must be something with your local settings, although I cannot imagine what.

Kind regards, Patrick

Reply to this topic