This allows user to upload an image to a gallery