A convicted sex offender from Medford accused of installing a camera in a dressing room at a Grants Pass clothing store was sentenced Thursday to 30 days in jail.

Curtis Eugene Fleming, 43, faces nearly six years in prison if he violates probation for his guilty plea in Josephine County Circuit Court to a felony charge of attempting to use a child in a display of sexually explicit conduct.

Fleming was arrested Aug. 9 after an alert sales clerk at the Grants Pass rue21 store spotted a recording device in a changing room at the store.

The clerk identified Fleming as a suspicious man who had just used the dressing room. She had noticed a newly installed “Shoplifters will be prosecuted” sign in the room and discovered a small video camera concealed inside it. The camera was recording, but the clerk had spotted it so fast that nobody else had used the dressing room yet.

The conviction was only Fleming’s latest but his first in Josephine County.

In 2003 he was convicted of second-degree kidnapping and harassment after he tried to drag a 13-year-old girl into some bushes in Medford. He was sentenced to 70 months in prison and ordered to register as a sex offender.

Prior to that, he was sentenced to probation in 1998 after misdemeanor sex-abuse charges were dropped in a case where he was alleged to have groped women while giving good-luck hugs after selling them magazines.

In 2000, he was indicted on two counts of using a child in a display of sexually explicit conduct and attempting to commit a Class A felony, but the charges of child pornography were dropped in a plea deal. He was sentenced to more than three years in prison for the remaining charges.

The latest case was held up after he was sent to the Oregon State Hospital in Salem for a mental evaluation. A 14-page psychological report in the case was sealed.

According to the terms of his sentence, Fleming was placed on three years of supervised probation after his release from jail.

The plea agreement in the case carries numerous probationary conditions, including no contact with minors, no pornography, and no cameras of any kind including computers if the computer or tablet has a camera.

Any violations are to be reported to the District Attorney’s Office. Revocation of probation is punishable by 70 months in prison.

He was also told to stay out of rue21.