Question how to store large number of images for web application...

ianr900

Member
Joined
Jul 13, 2006
Messages
18
Location
UK
Programming Experience
3-5
I'm building an asp .net web page that will allow users to upload images and other media for storage. Some of the images will be displayed on the web page to create the content. I'm using SQL 2005 to store uploaded info, but currently not images or media as they will make the db very large.

My initial idea was to store the large files in a seperate drive when the user uploads them, and just store tha path in the db. This part works fine. But when it comes to displaying the images using something like this: im.ImageUrl = "F:\mediastore\userfiles" & filename
the image doesn't display.

I'm using VS2005 and SQL server 2005 for now. Is there a solution which will work for me?
 
Try a web search for "asp.net images outside application path" and similar. Virtual Directory is one of options mentioned.
 
Back
Top