Photo upload working with some validation