Images of Hancock, Brown, Cameron, Farage, Miliband
9 July 2014 Last updated at 14:43 BST
Matthew Hancock looks happy posing on a bike, but was probably less pleased when the "sack Cameron' graffiti behind him was pointed out and made the headlines.
But he was not the first politician to appear with an unfortunate background in a photoshoot.
The Daily Politics looked at other memorably awkward shots, before Andrew Neil spoke to former spin doctor Lance Price, on how such images are avoidable, unavoidable, or even sought after by politicians.