Teacher resigns after nude snaps surface on Internet

Photos posted without permission on revenge site