refers to Photo validation on form submit