Added support for embedding images