A TWISTED teacher has been jailed after secretly snapping pictures of schoolgirls in their uniform and trading AI-generated nude depictions of them online for images of child sexual abuse.