A dynamical treatment of radiative transitions in the charmonium picture