Back in the spring, when the Pakistani Taliban still controlled the Swat valley, video footage of a girl being flogged became one of the most powerful images of their rule. The footage, shot on a mobile phone and circulated on YouTube, turned public opinion against the Taliban and helped lay the groundwork for a military offensive there.