NEW YORK - You might want to think twice before taking a selfie in the voting booth this November.

A judge is upholding a ban on taking photos of marked ballots in New York State.

Plantiffs argued that the law undermines free speech.

But the judge maintains that ballots should remain secret, so as to prevent voter intimidation.

They added that selfies would also cause delays at polling places, which might turn some people away from voting.

The plantiffs say they will appeal the decision.