The investigation of the teacher started Monday after a student told administrators about the photo, authorities say.