Fix image upload.