In most jurisdictions I know of sexual activity with or photography of someone under age is a strict liability crime, and it does not matter whether a defendant knew or even had any way to know the person was under age.