I posted this elsewhere but got no answer so I thought I would see if anyone
here is smarter. :)
I am creating a image management system and have a few questions, if anyone
could help
1) I read somewhere that storing images in a mysql database as a BLOB
reduces speed and efficiency. Is this true? I don't expect to be serving
many images although they could feasible get up to about 1000. I am instead
opting to just store the filename in the database and use that to grab the
image.
2) Assuming the latter (using just the filename in the database), I have a
question about file storad and dynamic images. Should I create the images
at runtime, including thumbnails, or should I, when the image is first
uploaded, create and save a thumbnail and a web version (maybe a 800 x 600
image) and
discard the high-quality uploaded image? My preview page could generate
anywhere from one to 25 thumbnails so I am a little hesitant to dynamically
create 25 thumbnails on a page; it seems to me that would have a definite
performance problem. However, I am somewhat tempted to do this because I
want the user to have the ability to easily change the thumbnail size and I
don't to have run a script that, everytime they change the thumbnails size,
loops through potentially 1000 images creating new thumbnails.
Any help or ideas?
Thanks,
wtgee