validate 3 sides for photo view