Police found more than 100 indecent images and movies of children when they raided a Fartown man’s home.
They also discovered cannabis worth more than £3,000 during a search of Tomus Potter’s former property.
The 25-year-old now faces sentencing by a crown court judge after pleading guilty to six charges of possessing indecent images and a charge of being concerned in the production of a controlled class B drug.
Prosecutor Rory Byrne said that on May 13 police executed a search warrant at an address in Scholes Road, Birkby.
This was because indecent images had been downloaded through an IP address linked to the property.
Mr Byrne said: “During the search computer equipment was seized. A further search was conducted and cannabis was found to be growing there.
“The estimated yield was 360 grams with a street value of between £3,060 and £3,600.”
Kirklees Magistrates’ Court heard that of the images seized 12 of these were classed as the most serious category A.
Images falling within this category involve penetrative sexual activity.
A total of 61 category A movies were also found.
Police discovered 41 images and 11 movies rated as category B.
And 23 images and 10 movies were classified as category C.
These are images not falling into the other two categories.
A prohibited cartoon image of children was also found.
Marnat Ali, for Potter, conceded that while there were not hundreds of images those discovered did cover the whole spectrum of indecent photographs.
District Judge David Gostling told Potter, of Corby Street, that his sentencing powers were not adequate.
He sent him to Leeds Crown Court for sentencing on February 4.
Potter was told to sign the sex offenders’ register and must not have any unsupervised contact with a child aged under 18 in the meantime.