Our school did this and the kids loved it! The way we did it was simple: each photo had an envelope next to it. The children would pay and put their guess into the envelope of the respective teacher. At the end of the contest, each envelope was checked and all the kids who had correctly identified the teacher had their names put into a bucket for a drawing, from which three names were drawn. Easy and lots of fun for the kids.