Support for inline-image

Added support for base64 encoding using inline-image helper.