A 40-year-old man caught with more than 10,000 indecent images of children was handed a 20-month sentence today.