California legislators passed a revenge porn law making it a crime for anyone to post online photos or videos of someone's intimate body parts without consent. The revenge porn law is defined under California Penal Code 647(J)(4) and often considered a type of nonconsensual pornography.