Results are reported from a search for supersymmetry with gauge-mediated supersymmetry breaking in electroweak production. Final states with photons and large missing transverse energy ( ETmiss ) were examined. The data sample was collected in pp collisions at s=8TeV with the CMS detector at the LHC and corresponds to 7.4 fb−1 . The analysis focuses on scenarios in which the lightest neutralino has bino- or wino-like components, resulting in decays to photons and gravitinos, where the gravitinos escape undetected. The data were obtained using a specially designed trigger with dedicated low thresholds, providing good sensitivity to signatures with photons, ETmiss , and low hadronic energy. No excess of events over the standard model expectation is observed. The results are interpreted using the model of general gauge mediation. With the wino mass fixed at 10 GeV above that of the bino, wino masses below 710 GeV are excluded at 95% confidence level. Constraints are also set in the context of two simplified models, for which the analysis sets the lowest cross section limits on the electroweak production of supersymmetric particles.