Hard to know the intent of a picture in most cases.
E.g. there used to be a magazine for teens when I grew up showing a picture of a naked adolescent of each sex in every edition (Bravo Dr Sommer).
The intent was to educate teens and to make them feel less ashamed.
I bet there were people who used these for sexual gratification. Should that have been a reason to ban them? I don't think so.