Originally Posted by mlseim
Is there a reason why you want to store the images in the database (BLOB) and
not store the images in a directory and use the table for storing the image filenames?
In other words, do you really need to store the images/photos in your database table?
Believe it or not storing in a db can actually be a better idea. Say you delete a user from the DB and then their images from the disk. If you do a rollback, the users account can be restored but those images that were wiped from the system are gone for good!
Of course then you have the problem of a swelling mysql table