Photons inS-matrix theory