Mike Powell, 50, admitted at Cardiff Crown Court that he had collected more than 600 indecent pictures of young boys.
Powell, who was mayor of Bridgend from 1984 to 1985, had cut out pictures of boys from magazines and superimposed heads and other parts of the body on them, the court heard.
Jail warning
He pleaded guilty to making indecent pseudo pictures of a child, possessing the pictures, possession with intent to supply and distributing them.
But his sentence was adjourned at Cardiff Crown Court on Monday after police discovered 16,000 more indecent pictures stored on his computer.
Powell, of Highfield Place, Sarn, near Bridgend, was released on bail for two weeks.
Judge David Aubrey QC warned Powell he was facing a lengthy prison sentence.
Next steps for peace
Blairs' surprise over baby
Bowled over by Lord's
Beef row 'compromise' under fire
Hamilton 'would sell mother'
Industry misses new trains target
Quins fightback shocks Cardiff
(From Sport)
Vodafone takeover battle heats up
(From Business)
IRA ceasefire challenge rejected
Thousands celebrate Asian culture
Christie could get two-year ban
(From Sport)
Colleagues remember Compo
(From Entertainment)
Mother pleads for baby's return
Toys withdrawn in E.coli health scare
Nurses role set to expand
(From Health)
Israeli PM's plane in accident
More lottery cash for grassroots
Pro-lifers plan shock launch
Double killer gets life
Cold 'cure' comes one step closer
(From Health)
Straw on trial over jury reform
(From UK Politics)
Tatchell calls for rights probe into Mugabe
Ex-spy stays out in the cold
Blair warns Livingstone
(From UK Politics)
Smear equipment `misses cancers'
(From Health)
Boyzone star gets in Christmas spirit
(From Entertainment)
Fake bubbly warning
Murder jury hears dead girl's diary
Germ warfare fiasco revealed
(From UK Politics)
Blair babe triggers tabloid frenzy
Tourists shot by mistake
A new look for News Online