Hi !

I want to store images, but I don’ t know which is the best place to store them.
I have two cases:

Case 1 (a few images) :
I have 100 permanent images, jpg’ s and gif’s (from 10 kb to 30 kb) to display in some cases on the page depending on the user selections.

Case 2 (images uploaded by the users) :
On the page the users will be able to upload images (from 800 kb to 3.000 kb), and later these images will be displayed in another page.
The file of these images will grow always, and it could be 5.000, 60.000 or 25.000.000 of images.

I am considering to store all the images (in both cases) into a Sql database, and then querying the DB when I need to display these images or pictures.

Which are your opinions and suggestions?

Thanks,
Cesar