View Full Version : beginner web dev question

05-23-2007, 05:51 AM
1) Script Title: Image Thumbnail Viewer

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

3) Describe problem:

I have a photography website currently online that I built using Frontpage. I am now completely rebuilding it with a new design, but using Dreamweaver. I'm storing this project locally until it is completely ready to upload to my host. I'm using Image Thumbnail Viewer for my galleries and my question is that since I'm having to code all the images with the local file path - when I upload to the server will it rewrite all the code with the new file path? or will I have to rewrite all the image code for the directory once it's uploaded?

Sorry if I'm not using the right terminology.


05-23-2007, 07:28 AM
You can use relative file paths instead of absolute file path(s) in your web pages , which avoids updating the file paths when you upload your web page(s) into your server.

Hope this helps

05-23-2007, 01:28 PM
a relative path is something like


an absolute path is


05-23-2007, 04:03 PM
an absolute path is


Not quite; what you've posted is an invalid URI.

An absolute path begins with a slash:


A network path includes the authority component:


Both of these are termed relative references.

Inclusion of the scheme makes it an absolute URI:


05-23-2007, 07:10 PM
Okay, but when I use an absolute path:

.."/images/001.jpg" for example

the images do not show up when I preview in a browser.

So I guess it makes more sense to do all the coding for the images after I've uploaded everything..? good grief, I should have asked this weeks ago!

Sorry for the improper posting format! won't forget next time..