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?
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.