Added support for inline images.