Click to See Complete Forum and Search --> : HELP! Code is there but no graphics??


Justbee
09-05-2008, 05:49 PM
Hi!

I need your help please. A friend uploaded their pages from a Mac. I downloaded them into my Dreamweaver to move and re-link them, etc.. 1 page is not showing the graphics it should and as far as I can tell the code is there so I'm stumped. The graphics are thumbnails of different galleries that the visitor can enter to see the work of this artist. I appreciate any help you can offer! Here is the webpage in question: http://www.phynxphyrvisions.com/artwork/Galleries.html
Many Thanks!

said_fox
09-05-2008, 09:59 PM
If everything works properly on your friend's Mac, you will have tell him to compress the folder in which all the website's files ( HTML files, Images, CSS files, sub folders, etc ) into one zip file then sending it to you by any way.

After getting the zip archive you will have to extract it in some folder, then create new dreamweaver site which root folder is set to the folder in which zip file was extracted and insure that all images src attributes are set to relative paths not absolute.

Relative path and Absolute path

Suppose that the site folder path is:

D:\sites\mysite
then images are found in directory namded by images on mysite folder, so
D:\sites\mysite\images
is the absolute path to your image's folder

Now suppose you have an image (its file name is pic.png) on your website this image will appear on HTML file named index.html on mysite folder so,

the image tag that will show this image may be written in two ways:

<img src="images/pic.png" />
the above is the relative path to the image

Or

<img src="d:\sites\mysite\images\pic.png" />
the above is the absolute path to the image

In website design and development, usually, we use relative paths to prevent problems related with changing files computer or machine.