Ms Francis said Vucko's actions had caused the girl grief and as a consequence led her to skip school and self harm.

Defence lawyer Matthew Fairclough described the incident was "a momentary error of judgement".

Mr Fairclough said Vucko had tried to quickly correct his actions by removing the images within hours after he had posted them.

But Judge Koppenol said by then the damage was already done.

"The girl had seen the images and so had her friends," he said. "As a result she got rubbished at school, suffered embarrassment and - so often happens with young people - she self-harmed and skipped school.

"And this was all because of the stupid actions that you took.

"Even if they are momentary, actions can have consequences...and can affect people very severely."