commit code to implement the entity image upload.