<Quote>
When you are working in Dreamweaver, the GIF file should be in the same folder as the HTML file. Otherwise, you may create a situation where it does not work when you upload it because the HTML file will still be looking for the GIF on your hard drive, not on the server. When you upload the file, then the file must be uploaded to the same directory as your HTML file; it will not work if it is uploaded to a different directory.
<Unquote>
Sorry but this simply is not true.
There is absolutely no need whatsoever to keep graphics and html in the same folder – in fact many would consider this to be bad practice. What you must do is make sure that your graphic exists within the site structure and that your html page links to the graphic in the site not another copy on your hard drive. Then make sure that both your html and your graphic are uploaded to your server from within the site. If your graphic is in a separate folder then you have to upload that folder at least once to your server to maintain the path.
Dreamweaver will attempt to help you do this automatically
When you set up a site using Dreamweaver it asks for your default graphics folder,
When you add a graphic to the site from outside it prompts you to import it into this folder within the site structure
When you place a graphic into a web page either by browsing or using the pointer system DW creates either a relative link or an absolute address link to the graphic depending on the preferences you set up.
When you upload your site all you have to do is to remember to upload your graphics folder as well as the html.
Even if you forget to do this DW usually prompts you by asking ‘Do you want to include dependant files’
If you answer Yes the graphic gets uploaded with the html file, each into it’s own folder.
The most common mistake is to try to upload the graphics file without first uploading its folder.
—
www.micromountain.com