Modified validations for image