inlines images for erc