Macroscopic local-field effects on photoabsorption processes