Storing images into MongoDB database collections, and querying for them.