Added inline image support for ERC.