(feat)Save images into mongodb

enable storing of images into the mongo db.