A Christchurch secondary school has suspended two boys after a teacher was filmed and the footage posted to a pornography site.
The teacher was filmed while teaching.
Christchurch Boys' High School headmaster Nic Hill said the boys were suspended following due process.
Last year there was also an incident at the school involving a photograph being taken up the skirt of a teacher, and shared.
Mr Hill said in regards to the still photograph nothing lewd was circulated, but that did not lessen the concerns or seriousness of the behaviour.
"Students have breached our standards regarding respect for others, and Christchurch Boys' High School will not stand for the behaviour."
The school was working with the students and their families and providing support for those affected at school.
Detective Sergeant Daniel Isherwood said police had received a complaint and were working with the school to work out what happened and who was involved.