I'm new to this and have a problem...

cdfreelancer

New Member
A friend and I are both designing a website. We are both using DW MX 2004.
The problem that we are getting is that whenever I have designed a webpage and send it to my friend to view, none of the images show-up on the page when he views it. Not even the background shows-up.
When I send him a webpage I make sure that I send all of the accompanying images with it. He then places the webpage and all of the images into the same folder but he still can't see the images when he clicks on the webpage. All he can see is a page with text on it and empty boxes with little red crosses in them where the images should be.

Please help as this is driving us maaaaaaaaaad!

Thanks in advance!
 

Lorand

<b>VIP Member</b>
How are the images referenced in html?
The images won't show probably because there's a different path to pictures on the other computer.
 

cdfreelancer

New Member
I have no idea what the path is or how to change it. U must excuse me because this is my first website design.

Is there an easy way around this issue that means I don't have to get my friend to change the path every time?
 

Lorand

<b>VIP Member</b>
Dreamweaver should generate a relative path for images, so shouldn't be such problem if the document and the images are in the same folder when inserting them.
 

cdfreelancer

New Member
I know but how can I ensure that my friend can see the images on the webpage when I send it to him through msn messenger?
 

Lorand

<b>VIP Member</b>
He'll see the images if he copies the files in a folder with the same name (and same path) as in your computer.
 

cdfreelancer

New Member
Well that's going to be a problem because the path on my PC looks like this: C:\Documents and Settings\Colin\My Documents\Real Info Zone
 

Lorand

<b>VIP Member</b>
Open a html file of yours and search for something like this (the image filename and path is between the "s):
Code:
 <img src=".................">
If the image is in the same folder with the html, then it should be only the filename, without the path.
 

cdfreelancer

New Member
OK. My friend sent me webpage along with four accompanying pics. I put them all into the same folder along with the webpage. Upon analysing the html code I noticed that the file names of the pictures are exactly as they should be, ie:
<img src="../CASTLE.jpg"
The picture file name is CASTLE.jpg so therefore it should appear on the webpage, but it doesn't.
 

Lorand

<b>VIP Member</b>
The ../ means that the picture's path is one level up. So in the folder where the pictures are make a new folder and copy the thml file there.
 

cdfreelancer

New Member
Thanks for the help! The problem was that when the webpage was made, it was made with the pics being one level up. When I treid to open it on my puter, the pics were put into the same folder.

You live and learn!
 
Top