A paedophile former teacher who was jailed for filming children at his school has now been caught with a stash of more than 1,100 indecent images of kids.