Former Playboy playmate Dani Mathers is officially facing jail time for secretly Snapchatting a photo of a naked woman from the locker room at LA Fitness.

The former centrefold attempted to evade trial by claiming the California privacy law she’s accused of breaking is too vague to be constitutional.

Judge Gustavo Sztraicher disagreed and scheduled her trial for 26 May, the New York Daily News reports.

Asked if Ms Mathers would be testifying at her trial, her lawyer responded, “Oh yeah, definitely”.

Last summer, Ms Mathers posted the photo of a naked, 70-year-old woman to her public Snapchat story with the caption "If I can't unsee this then you can't either”.

Activists quickly accused the model of body-shaming. Prosecutors charged her with misdemeanour invasion of privacy.

“She should face the consequences of her cruel and criminal act," the Los Angeles City attorney's office said at the time.

Inspiring body positivity quotes Show all 12 1 /12 Inspiring body positivity quotes Inspiring body positivity quotes Ashley Graham "And cellulite, I have not forgotten about you. I'm going to choose to love you even though you want to take over my whole bottom half. You're a part of me and I love you." Inspiring body positivity quotes Danielle Brooks "Sometimes I don't like what I see, but I have the power to change the way in which I relate to my body both physically and mentally." Inspiring body positivity quotes Iskra Lawrence "Stop comparing yourself to anybody else. The [pictures of] movie stars, even the Disney characters, that’s not real. That’s not attainable. You can’t be anybody else. You are you. You can’t be them. So you really just have to start embracing yourself and accepting so-called flaws that society has given the name ‘flaws’. It’s just our body, our patchwork quilt.” Inspiring body positivity quotes Beyoncé "The most alluring thing a woman can have is confidence." Getty Images Inspiring body positivity quotes Kate Winslet "Nobody is perfect. I just don't believe in perfection. But I do believe in saying, 'This is who I am and look at me not being perfect.' I'm proud of that." Getty Images Inspiring body positivity quotes Rihanna "You just want something that someone else has, but that doesn't mean what you have isn't beautiful, because people always want what you have and you always want what they have - no one is ever 100 per cent like, 'Yes, I'm the bomb-dot-com - from head-to-toe!" REUTERS Inspiring body positivity quotes Tess Holliday "Never compare yourself with others and celebrate what makes you, you." Inspiring body positivity quotes Demi Lovato "Instead of looking in the mirror and focusing on your flaws, look in the mirror and appreciate your best features... everyone has them." Inspiring body positivity quotes Kim Kardashian-West "See this little dimple of cellulite here? It was so worth it for that cookies 'n' cream ice cream!" Inspiring body positivity quotes Jennifer Lawrence "It should be illegal to call someone fat." Inspiring body positivity quotes Mindy Kaling "Insults about the way I look can’t be the thing that harms me and my heart the most. It has to harm me the least. If I have a daughter, I’m going to tell her that. Far too many women are much more hurt by being called fat or ugly than they are by being called not smart, or not a leader." Rex Features Inspiring body positivity quotes Selena Gomez "I’m learning that you can be comfortable and still look beautiful.” AFP/Getty Images

Under California law, it is illegal to secretly photograph another identifiable person in a changing room without their consent. Charges can result in up to six months in jail and a $1,000 fine.

Ms Mathers previously attempted to avoid jail time by offering to apologise to the victim, undergo counselling, and take an anti-bullying course. The judge declined, citing lack of remorse.

Ms Mathers was also banned from all LA Fitness gyms.

The model apologised for the Snapchat shortly after posting in last summer, claiming the posting was an “accident”.

“It was absolutely wrong and not what I meant to do,” she said. “I chose to do what I do for a living because I love the female body, and I know body shaming is wrong.”

Just this month, however, Ms Mathers tweeted that she had “never body shamed a person in my life”.