I agree that it wasn't the best way to handle it (at least publishing the photo wasn't, I'm fine with the rest) but that's different to being held responsible for all actions that follow.
The person in question has responsibility for what they did, the company has responsibility for what they did. There are many points during this whole process where the chain can be broken, not just one.
The company had plenty of other options about how they handled it and firing was in no way a foregone conclusion.
As an aside it is another reminder that we now live in an age where we may all be held to account for things that would otherwise have passed largely unnoticed. There needs to be adjustment on all sides - we all need to start acting in ways we'd be happy to be publicised, we all need to be aware that publicising others behaviour might have wider consequences than we'd initially anticipate, and we all also need to be a little more balanced in our judgement when it comes to behaviour which might be closer to an isolated incident than representative of something more.
http://www.wired.com/dangerroom/2012/12/newtown-shooter-face...
And if it's different than the one stated so far, why?
Now, if I take said picture and hand it to the police, they investigate, then I've done the right thing: The justice system gets to work and the decision about the appropriate punishment is made by a neutral party in due process. This is how we handle things since we've become a civilized society.
Don't get me wrong: The OP may be right and the guys made inappropriate jokes - but she's at least partially wrong as well. She didn't give them any chance to hear their side, maybe clear up any misunderstanding - instead she called for the lynch mob. That's the point I'm criticizing. The way I see it is that she's to blame as well. It's a pity since she's right in what she wanted to achieve, but her means didn't justify that goal.