Steven Keith was found to have thousands of indecent images of children on a laptop in his bedroom at the Mains Drive property.

He admitted being in possession of the sordid illegal snaps when he appeared in the dock this week.

Andrew Lazzarin, prosecuting, told Paisley Sheriff Court that officers had gone to the house where Keith lived his mother and stepfather.

After arriving at the property on July 7, 2014, officers read out a search warrant telling the trio, who were all there at the time, they were there to seize any devices capable of accessing the internet.

Lazzarin explained: "The accused said, 'I have my own laptop and PC upstairs in my room'."

The items were seized by police and examined by computer experts, showing that search terms associated with child pornography had been used on the laptop.

Keith, 41, was detained and made no comment, before giving a no comment interview and remaining silent when cautioned and charged.

The computers were analysed further and experts found 2,638 indecent images of children on Keith's laptop.

Lazzarin said there were 1,605 unique images and that the remainder of the 2,638 images were duplicates, adding: "This was most likely due to the deletion of the images in question."

Sheriff David Pender was told that all of the images had been deleted from Keith's laptop and were categorised at level one - the tamest there is.

They featured girls aged between eight and 15 in provocative poses and Lazzarin said they were most likely downloaded via a file-sharing application.

Of the images found, four were pornographic films, while the rest were photographs.

James Arrol, defending, said he would reserve his plea in mitigation for when Keith learns his fate.

Sheriff Pender called for Keith to be assessed by social workers ahead of sentencing and adjourned the case until later this month.

Keith was released on bail and placed on the Sex Offenders' Register.