validations of image added