add validation for image