He was also handed a €2,500 fine and a 10-year ban on contact with minors.
A total of more than 5,200 photos were found on a computer, laptop and two USB sticks.