Photoproduction of pions on pions