District says a former student used photos of staff and students to create explicit AI images.