Fancythat 17.39- by people- there are adults that create and then adults and children that then download/consume, those that circulate( adults and children) and various combinations thereof. There are sentencing guidelines on line. The judge needs to weigh up category and severity of charges proved (number of downloaded images, category A/B/C thereof, circumstances etc) then weigh up any mitigating circumstances against aggravating circumstances etc.
Plus importantly with juvenile offenders, whether first offence or repeat. If first offence is the juvenile willing and have they since police interview engaged with appropriate services?- e.g. LADS- Local Advice and Diversion services- because ideally you don't want them to reoffend and those services work with the juvenile ( if they are willing/pointless and difficult if not) from time of charge to find out why this happened and offer support.
Circumstances of offence are taken into consideration- they may have been naively groomed- e.g exchanging mildly sexual images "naked torso etc) with whom they believe to be another teenager on line, it escalates further, turns out the other teenager is an adult then they are blackmailed and drawn in the recruit other teenagers/ distribute etc. All a bit like county lines drugs grooming. Risk to the public and others is taken into consideration as well as guilty pleas, demeanour in court and any remorse expressed and accepted as being genuine.
Your teenager didn't go to jail- I don't know the circumstances. The shame can be immense and you describe them being ostracised by their local community. That also is a form of punishment and living with the shame, the criminal record and that impacting on a juvenile's future career/ job prospects maybe considered punishment enough by the court in that case circumstances. Sometimes the circumstances of a juvenile being groomed into this world are sad- but genuine, knowing adults who create, distribute, blackmail and cause great harm deserve their punishment-when identified and successfully prosecuted.