Adding support for image replacment, like text replacement