A hospital cleaner who was reported to police by his wife has been jailed for possessing pictures of child abuse.
David Dyson, 44, of Dundee, pleaded guilty at the High Court in Edinburgh to possessing and downloading images between December 2007 and March 2010.
Police found abuse images on Dyson's computer kept at the Ninewells Hospital nurses' residence where he lived after leaving the family home.
Dyson was sentenced to 14 months imprisonment.
Defence advocate Jonathan Crowe said Dyson would take any help offered to change his ways.
Judge Lord Pentland imposed a sentence which would enable him to take part in a counselling project when he is released.
At an earlier hearing, advocate depute Alex Prentice QC, prosecuting, said that 3,060 photos, including some of girls as young as three, had been found along with 14 hours of video footage.
The court heard that Dyson's wife had, in 2007, found a CD containing pictures showing child abuse while they lived in Rochdale, Greater Manchester.
Mr Prentice said she believed Dyson when he claimed the images had been loaded on to the disk accidentally.
After the family had moved to Dundee, Dyson's wife became suspicious that he was concealing other illegal images.
When she confronted him, he moved out and she contact the police.
Jailing Dyson, Lord Pentland said: "Each image, each video represents the serious abuse of a child and you must shoulder some responsibility for the abuse of children."