Open any campaign brochure, and there are lots of them floating around, and you're sure to find at least one picture of the candidate posing with some uniformed law enforcement officer. It quickly conveys to voters the image of being a tough, law-and-order hard-liner.
It's also illegal. It's against state law for an officer to participate in political activities of any kind while in uniform. That includes posing for pictures, on or off duty.
The law is a good one that some police officers have ignored and others have been duped into violating by politicians who take seemingly innocent pictures under routine circumstances that later show up in election campaigns.
The issue was raised recently in the Huntington Beach City Council race when a resident complained to the city and the district attorney's office.