Posting intimate pictures or videos online of former romantic partners as a form or revenge will carry criminal penalties in Colorado as of July 1.

Colorado was one of about two dozen states this year that considered bills addressing the trend of so-called revenge porn.

The new law makes it a misdemeanor to publish explicit images of someone without their consent and the crimes will carry a fine of at least $10,000.

Other laws taking effect July 1 include a requirement to release data to parents regarding student vaccination rates at schools, and stricter sentencing guidelines for sexual offenses against children under 12.

Another new law allocates $10 million in excess medical marijuana fees to study the health effects of the drug.