sharing maps: replace images markup