Taking pictures of yourself naked is not illegal but someone stealing those pictures is. Also couldnt it be claimed the pictures are still taken by the person in the picture? Cameras do have timers on them now.
Also child porn is definitely illegal and probably part of the reason the picture taker is the one responsible for the pictures.