A man has been found guilty of possessing more than 1,700 indecent photographs of children as young as two years old on his laptop.
Nathan Ramsbottom, 36, of High Street, Ecclefechan, had denied taking or permitting the pictures to be taken at his home in June 2007.
He had claimed he had been carrying out research on the internet.
At Kirkcudbright Sheriff Court, Sheriff George Jamieson deferred sentence on Ramsbottom for five weeks for reports.
He also placed him on the Sex Offenders Register for a period still to be determined.