I don't disagree with the need to educate and punish.  But this issue is nothing new. This is an evolution from when prior to social media a boy would have a sexual encounter with a girl and then tell all his friends.  Through social word of mouth the news would propagate and the girl embarrassed, labelled, and harassed by here peers. The difference today is with technology we have much more info (i.e. photos and videos), a faster delivery of this info (social media), and a much larger audience it can reach (via the Internet).  

However the message we used then is still the same as today. That is, we need to educate our youth that sexual relationships require maturity and an understanding, and to instill in our youth to use good judgement, but that we also need to take responsibility for our actions. And specifically for our daughters considering it can cause the most damage, we said under absolutely no circumstances should you ever be photographed in the nude.