CRM-12926 : convert the flash to image and upload the image