merging data: replace images markup