View Single Post
  #4 (permalink)  
Old April 7th, 2006, 12:14 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I think you misunderstood me. The path I provided:

/Images/Uploads/2006/04/SomeFile.gif


*is* the pointer to the image in the database. So, you can have a table like this:

Images
==========
Id
ImageUrl
DateUploaded
ContentType
Extension

In the ImageUrl file, you'd store the virtual path to the image on disk.

Does that answer your question? If not, there is some confusion....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Reply With Quote