Reactions with real and virtual photons on light nuclei with A>=4