Most content-management systems would store metadata in a database, and images in a filesystem. While you certainly can stuff an image into a BLOB, you can't do anything interesting with it (search, etc), and you've just created a requirement that both the database and the scripting language are needed to retrieve it. If you just put the image into a filesystem, it can be retrieved by any http server without invoking scripting or interacting with the database.