The hadronic properties of the photon in γp interactions