Judge Richard Bennett said Milton “harvested” the “perfectly innocent” images the youths had shared on their social media, and the case highlighted the risks of people posting pictures of children online.

In relation to the voyeurism, the judge said it was a “gross violation” of the victims’ privacy, adding Milton had shown no genuine remorse.

Noting Milton was called “Tom” by those who knew him, the judge told him: “You are the classic peeping Tom who spies on young women and teenage girls for your own sexual gratification.”

He said Milton knew exactly what he was doing, adding: “You are clearly highly intelligent but equally manipulative, deviant and dishonest.”

Judge Bennett said Milton’s claim that he got no sexual gratification from his actions was “palpable nonsense” and the offender had a “total failure to grasp reality”.

Milton will also have to sign the sex offender register for life and comply with a sexual harm prevention order restricting his access to children and use of the internet.