Reports surfaced after the Jan. 26 crash that killed Bryant, his daughter Gianna and the others that graphic photos of the victims were being shared.
Eight deputies were accused of taking or sharing graphic photos of the scene, Los Angeles County Sheriff Alex Villanueva said then, adding that he had ordered the images deleted. He said the department has a policy against taking and sharing crime scene photos, but it did not apply to accident scenes.
RELATED: Vanessa Bryant suing Sheriff Alex Villanueva and LASD over leaked photos of Kobe crash site
The measure that will take effect Jan. 1 makes it a misdemeanor with fines up to $1,000 per offense to take such photos for anything other than an official law enforcement purpose.
Bryant's widow, Vanessa Bryant, has sued the department over the photos.
RELATED: Video shows wreckage from helicopter crash that killed Kobe Bryant, 8 others
Villanueva said the department has a policy against taking and sharing crime scene photos, but it does not apply to accident scenes.
The suit seeks damages for negligence, invasion of privacy and intentional infliction of emotional distress.
Attorney Gary Robb says Vanessa Bryant personally went to the sheriff's office the day of the crash and requested that the area be protected from photographers.
The crash remains under investigation by the National Transportation Safety Board.
The Associated Press contributed to this report.