I am developing my Automobile site, http://www.CAutomobile.com. I wanted to get the images from the visitors. Which one is economical in terms of speed, and memory? Is it ‘save the image to database’ or ‘save in a directory’? Suggest me. I am currently coded to saving the image to database. When I displayed it's .bmp type, and the name is untitled. My question is How to keep image attributes same as original image.
fernimac
11-23-2004, 02:42 PM
Save to a directory is a safer bet. You can specify the directory, the image will keep its original name and format (you have to control that files with the same names don't overwrite existing files in the same directory, though) and all you have to do is save the name of the image file (instead of the file) in a database table. Then you call dinamically that file from your ASP page as needed.
Fernando
--------------------------------------------