upload_image format fix.