It can be a crime because it counts as child pornography, if there's an image of someone under 18, and it doesn't even matter if they took that image of themselves and shared it willingly.
Puede ser un crimen, porque se considera como la pornografía infantil, si hay una imagen de una persona menor de 18 años, y ni siquiera importa si se autoretrataron y compartieron de buena gana.