Detectives who searched the San Fernando Valley home of “Glee” actor Mark Salling looking for child pornography found “hundreds of images” they’ll use as evidence, police said Wednesday.

In general, detectives on the LAPD’s Internet Crimes Against Children work on cases involving prepubescent victims, said task force Lt. Andrea Grossman.

On Tuesday morning, the group’s work led them to Salling’s home in the 9900 block of Helen Avenue in Shadow Hills, where the images were found, Grossman said.

Salling, 33, who played Noah “Puck” Puckerman on the Fox series that ended this year, was arrested and booked on suspicion of possessing child pornography. He was released hours later on $20,000 bail.

Jail records show his initial court appearance is scheduled for Jan. 22, but that could change depending on whether or when county prosecutors file charges against the actor.