fixed upload image preview.