Why isn’t Weiner being charged with indecent exposure?
Public indecency is a class 1 petty offense.
If he exposed himself while literally in public, not just online, he certainly would be arrested. Laws such as that one don’t work the same way when people are going online and posting personal images of themselves. In essence the two things are pretty much the same, but that’s just common sense, not the law.