repaired image-upload.