I've always liked storing all data in the DB to keep things simple, so
I stored images in the DB and then cache them on the filesystem when
they're first requested. Granted, it's pretty inefficient with disk
space, but if you have a good ORM db lib and caching lib, it's
extremely convenient.