LOS ANGELES (CBSLA.com/AP) — A Playboy centerfold who snapped a photo of a naked 71-year-old woman in a gym locker room and posted it on social media pleaded no contest to a charge of invasion of privacy Wednesday.

As part of her plea deal, Dani Mathers will perform 30 hours of graffiti removal and be on probation for three years. She reportedly chose community service over serving 45 days in jail.

READ MORE: 3 Teens Killed In Pasadena Crash

A judge also ordered the 2015 Playmate of the Year to not take a cell phone into areas where people undress, or record or post images of anyone without their permission.

READ MORE: LA County COVID Patient Numbers Inch Upward; 27 More Deaths Reported

Mathers was also ordered to stay away from all LA Fitness centers.

The model had been charged with invasion of privacy for posting the photo on Snapchat with a caption saying she couldn’t “unsee” the image.

MORE NEWS: Metro Officials Renew Commitment To Bolster Safety Following Death Of Nurse Sandra Shells

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)