Let's say, for the sake of argument, that the document root of your web site is D:\sites\mysite, and that you're storing your images in one directory, "D:\sites\mysite\images".
In the database, I'd just store the filename.
In my web script, I would fetch the filename from the database, prepend the necessary path information (in this case, "/images/"

to the filename, then output that filename as the value of a "SRC" attribute of an "<IMG>" tag.
If instead of storing all the images in one directory, suppose you have three directories, d:\mysite\images\aircraft, d:\mysite\images\boats, and d:\mysite\images\landcraft.
I would store the filename and subdirectory name in the database. For example, to store the filename of a motorcycle, I'd store "landcraft/mycyle.jpg" in the database.
Then in my web script, I would fetch the filename from the database, prepend the necessary path information (in this case, "/images/"

to the filename, then output that filename as the value of a "SRC" attribute of an "<IMG>" tag.
Want the best answers? Ask the best questions: TANSTAAFL!!