A MAN who admitted making indecent images of children was so overwhelmed by shame that he tried to take his own life, the Royal Court heard.