Add actions to image upload.