Fix validations for remote image upload