Multipole analysis of resonance photoproduction