A sex offender has been jailed after he was found to have more than 1,000 indecent images of children.