While I do not condone what has been done, pretending you are a different gender is not in and of itself illegal and as far as someone sending nude pics of themselves to a total stranger (or even someone they know) should know that there is a high probability of them going online.