The picture was taken by the victim herself, a “selfie” she sent to a boy in the school late last year, reported the Smålandsposten newspaper (SMP).
When the image went viral among the school via Facebook and other social media, police were called in to find out where the spread began.
It was traced back to a fake Facebook account, and police interrogation led to the name of the 16-year-old girl who has now been charged. She refused to admit how she got hold of the picture, and told officers that she regretted the move and was prepared to accept the consequences.
She added that she uploaded the picture as “revenge” for other posts on social media the victim had made previously, SMP wrote.
The 16-year-old will stand trial at the Växjö District Court on Friday for charges of defamation.
The incident is not the first involving teenage students posting private information to social media in Sweden.
In December, teens in Gothenburg rioted after an Instagram user set a “slut shaming” operation in motion on the image site listing the sexual habits of girls and boys in the school. The incident led to the conviction of two teen girls in June, who were ordered to pay a total of 570,000 kronor ($85,370) to their victims
And in May last year, a young woman whose phone was stolen was horrified to learn that her own nude photos of herself had been uploaded by the thief to her own Facebook account.