Fix the img upload.