Photon emission from a medium-modified shower evolution