email Images Foreground Images


Example

Basic foreground images can be inserted into an email document just like they are for web pages:

<img src="http://www.yourserver.com/email/images/logo.png">

And they can be made links by wrapping them in an <a href> tag:

<a href="http://www.yourwebsite.com">
    <img src="http://www.yourserver.com/email/images/logo.png">
</a>

Email <img>s use many of the same attributes as on the web, including some that are deprecated on the web, are included at the bottom of this page under Parameters.


don't use relative image paths:

<img src="images/logo.gif">

✖ It's advisable not to use base64. It's not supported in Outlook and can quick bloat the file size of an email, which triggers spam filters.

<img src="data:image/png;base64,iVBOR..." alt="Your Image">