I ran across an article today about how to store images in a database. I found it fascinating, and a very simple method of storing images that are uploaded.
I am wondering, as long as I do the proper sanity checks when inserting, what the pros/cons of images in a database are? Is this method used on professional sites? In what context? I'm guessing its not for stuff like backgrounds or design elements, as I take these images wouldn't be stored as temporary files?