Teacher on leave after compromising photos of kids found