Please help! my images are gone!

Posted on 2004-09-28
Last Modified: 2013-12-24

I tried to change my code from

<img src="CCImages/FinalCCImages/yellowbutton.gif">


<img src="/CCImages/FinalCCImages/yellowbutton.gif">

so i change from "relative to document" to "relative to site" but my images are gone.  now it does not show up in the browser.

Question by:mdbbound
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
LVL 35

Expert Comment

ID: 12174974
is the document in the web root?  If not then the above will not work.

What is the address of the page you are changing?

Author Comment

ID: 12175012

When you say web root do you mean this?:


When I select the yellow button by clicking the  src folder, I go to the above path and once selected this is how it appears in the cfm page


I dont get this site and document relative stuff.  Please help!


Author Comment

ID: 12175066

the page (one of the pages) where that image should appear is located here:


Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

LVL 17

Assisted Solution

Tacobell777 earned 100 total points
ID: 12175838
if your domain is for example

and your images are

then you can refer to it absolute like /image/image.gif

if your images are located in

then you can refer to it absolute like /somedir/image/image.gif

absolute is taken from the root, i.e.

Author Comment

ID: 12175909
Hi Tacobell777

I did this /somedir/image/image.gif

It did show up in IE but in DW it has that grey torn paper image.  Is this usually the case?

or i am not doing things right?

LVL 17

Expert Comment

ID: 12176052
it depends, if DW can find the web root and how you have it setup.
also if part of the path is dynamic then DW will not find it, i.e. #webRoot#/image/
LVL 17

Accepted Solution

anandkp earned 300 total points
ID: 12177543
what u've done indicates that "CCIMAGES" is a directory present in ur ROOT ... Followed by FinalCCImages & then with the yellowbutton.gif
<img src="/CCImages/FinalCCImages/yellowbutton.gif">
the key here is - ur travelleing from root - towards teh gif ...

& not from ur calling document towards teh gif [<img src="CCImages/FinalCCImages/yellowbutton.gif">]
as this wld have meant that u have a subfolder called CCImages in ur calling file directory

generally DW will set up links as relative to document ... but if u can figure out a way to set up a project or a root kinda stuff in DW [i dunno if this is possible] - then the same link wld work in both DW & IE.
LVL 35

Assisted Solution

mrichmon earned 100 total points
ID: 12180691
When I say the page address I mean on the web.

How do you access in Internet Explorer?

If you are using the DW preview then it is possible they will not show up.

Try pushing your files to the live server (both page and image) and then see if they are accessible directly from the browser.

Author Comment

ID: 12181566
Thanks Mrichmon and anandkp and tacobell777

I will do as Mrichmon suggested, right now i have bigger problems.  

I appreciate all your help and quick response.  I'll let you know when i can get back to this issue.

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL ( and MongoDB (…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question