A model for charged π rmN and πΔ photoproduction