Link to home
Start Free TrialLog in
Avatar of mdbbound
mdbbound

asked on

Please help! my images are gone!

Hello,

I tried to change my code from

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

to

<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.

Thanks.
Avatar of mrichmon
mrichmon

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?
Avatar of mdbbound

ASKER

Mrich

When you say web root do you mean this?:

C:\CFusionMX\wwwroot\MySiteName\CCImages\FinalImages\yellowbutton.gif

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

/CCImages/FinalCCImages/yellowbutton.gif

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

Mrichmon

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

C:\CFusionMX\wwwroot\MySiteName\TheCFMpage.cfm

Thanks
SOLUTION
Avatar of Tacobell777
Tacobell777

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?

Thanks
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/
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.