The absorption and magnetic circular dichroism spectra of the A2g 'Eg electronic transition of CdI2'. Ni + and PbI2.Ni + and of the a T~g 6 T&g A]g transition of CdI2'. Co + have been measured. The spectra show a complicated fine structure caused by the coupling with nonlocalized vibrational modes of the host lattice. The theory of this effect is presented. It is shown that the observed vibronic structure images the phonon density of states in the Brillouin zone, modified by matrix elements and selection rules. The contributions of the different phonon branches (acoustic, Raman, and infrared-active modes) are calculated. The spectra show a strong anisotropy, which is due to the presence of static dipoles at the anions; the magnitude of the anisotropy is calculated with use of the polarizable-ion model. The vibronic fine structure is used to deduce the maxima of the phonon density of states of CdI2 and PbI2, and to estimate the phonon dispersion curves.