Saving of image into DB and updating the image_repo table.