A man who had indecent photographs of children was ordered to carry out 300 hours of unpaid community work.
Perth Sheriff Court heard Mark Thomson, 46, of Glenshee Drive, Rattray, admit the charge which took place at his address between April 11 2013 and March 28 last year.
Solicitor John McLaughlin, appearing for Thomson, said there were seven images and one video, which was classed as category A.
“My client resigned from his job following this incident and is still looking for a job,” he said.
“He has had problems dealing with his case. He is now on more suitable medication.”
Thomson was also given two years’ supervision on a community programme order.