No, it is not illegal unless there is a court order barring this in the absence of a court order, a private citizen or business may post photos of alleged criminals. If however this is false, that is, if the juvenile did not shop lift, then the juvenile's family may have a lawsuit for defamation, since defamation is the statement or publication of untrue factual statements which damage another's reputation.