modify uploading image.