Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dreamweaver help!!!!! 1

Status
Not open for further replies.
May 25, 2006
7
IE
Hi
New to dreamweaver but have a website designed but there is one problem i have to overcome!!When i put my project(website) on cd and handed it in to the company to upload they told me that the images etc are missing because of the file location name does not exist on there company computer whereas on mine it does and all the images files etc are on the cd.So now they are telling me that i have to change all these image locations on all my pages so that they can can upload it to the server.So basically when i transfer my project to there computer all the images are missing!!! Is there anyone out there that no's what i am talking about and that could possibilily help me out!!
Many thanks
Shane
 
Without seeing actuall code, i can only guess that you hard coded the image paths in the website. for example instead of having:

<img src="/images/someimage.jpg">

you have something that looks like:

<img src="C:\yoursite\images\someimage">

What this does is tell the server too look for the images in its own C: drive in a folder called [green]yoursite[/green] inside a folder called [green]images[/green] and of course there is no such path on the server.

You'll need to find out where the image paths are pointing and change them accordingly.

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Deadly so all i have to do is take out the "C:/yoursite/ and everything should be okay?I did it and the image was still present!!
 
Theoretically yes.
But make sure the same relative path will exist in the server, everything before the actuall image folder should be deleted.

i.e

<img src="C:\yoursite\images\someimage">

should only be:

<img src="\images\someimage">

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Right when i preview it in firefox or internet explorer the images come up as broken images??Whats going on there?
 
Again, it is a path problem.

The image path is relative to where the html file is located.

Assuming all your images are in a folder inside the folder where the html files reside the path should look something like this:
<img src="/images/image.jpg">

Now I suggest you look at the source of the wbepage when you open it in a browser so you know exactly what the browser is seeing.

Again without your code, and not knowing exactly where the images should be there is not much more I can say.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top