Hello!

I have a simple (simple to some!)Dreamweaver assignment to create an index portfolio, save it on my desktop, Zip a folder and email it. My problem is, whenever I email the zipped folder, the image does not show up with the page. All other links are present and working, but the image is not there. Before I began making the page, I opened a folder on my desk tpp and put the image in there. When I inserted the image in my DW index page, I took it from the desktop folder and then saved it (the index page)back to the desktop folder when complete. The root folder and the desktop folder are named the same thing. Please advise.

Lee

Hello and Welcome to Daniweb =D

Sounds like your image has an absolute path, rather than a relative one... Bad Thing. And sounds like all your links are relative... Good Thing.

Basically your links probably say something like:

<a href="/about.html" title="About Me">About Me</a>

While your image says something like this:

<img src="C:/Documents and Settings/Laura/Desktop/localhost/public_html/images/testing.jpg" width="10" height="10" alt="testing" />

Basically you want to change all that to:

<img src="/images/testing.jpg" width="10" height="10" alt="testing" />

Or if your not using a local server (you'll know if you are):

<img src="images/testing.jpg" width="10" height="10" alt="testing" />

Note the missing first '/'

Hope that makes sense. Let me know if this works out for you or if you need anymore help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.