election map: replace images markup