Perl and MySQL: Saving and Displaying Images in a Database

It’s often recommended NOT to store images in a database. As someone who works with database’s frequently, I completely understand that recommendation. However, there are times where the convenience and practicality outweigh the negative aspects. In my case I had four separate sites, pulling from the same database, that needed to use the same (small) images. Rather than copying all these images to every site and keeping them maintained, storing them once in the database seemed to make a lot more since.
Continue reading