Search for supersymmetry with photons in pp collisions at s =8TeV