A sentence of two years’ immediate imprisonment was quashed and a 36-month community order with a supervision requirement and a Sex Offender Treatment Programme requirement was substituted for four counts of making indecent photographs of a child. According to the sentencing guidelines, where there was sufficient prospect of rehabilitation, a community order with a Sex Offender Treatment Programme requirement could be a proper alternative to a short or moderate custodial sentence.