learn your fucking law.
A) the person has to be truly under the age of whatever the state decides, usually 18, which means that computer generated, animated, or even older actors pretending to be younger are ok.
B) it will be ok even with underage children if it has a certain amount of serious literary, artistic, political, or scientific value.
Usually parents are also given leeway if its just pictures of their children for personal, normal familial, use.
XI Wiki



