A Harlem woman thought she was getting a free haircut in exchange for the salon displaying her photo on the wall — instead her image was posted on a stock photography website and used in articles about jealous ex-wives, PTSD and failed marriage, a new lawsuit charges.

So Rosella Williams, who’s described as a “beautiful African-American woman” and “well-known member of her community” in court papers, is suing the stock photo company Eyecandy Images and photographer Jose Formento over the alleged breach.

Williams had her hair done at the Nu Loes Natural Parlor on Malcolm X Boulevard in 2007.

The stylist said she wouldn’t have to pay if she came back in a few days and let a photographer take her picture, according to the Manhattan civil suit.

“She was told that the photographs would be used only by the hair salon to decorate its walls,” the suit says.

Nine years later a friend told her she’d seen her image online in an Ebony magazine article titled, “The Mother of My Husband’s Child Hates Me!” She later found other shots in a second Ebony piece called “Marriage is Dead” and accompanying a Huffington Post article about PTSD.