emailmonday / Cerberus

A few simple, but solid patterns for responsive HTML email templates and newsletters. Even in Outlook and Gmail.

Home Page:https://www.cerberusemail.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Full-width body images not rendering on Outlook Desktop for Hybrid template

miamimabel opened this issue · comments

Hello --

I'm using the Hybrid template and my issue is that Outlook Desktop (looks fine on mobile) won't render an image added to the body of my email. I've tried within

tags, without, in its own row -- and it keeps cutting it off (see screenshot below) - thanks in advance!

template-image-issue

Can you try removing the line-height from both the <img> and the parent <td>?

Yay! I'll leave this open as a reminder to fix this in the source files here. I ran into this bug in my own work and fixed it there, but should port that fix here. Thanks!

After testing this further, it seems this bug is caused by a line-height in the image's parent <td>. Eg:

<td style="font-size: 12px; line-height: 15px;
  <img>
</td>

A line-height on the image itself seems to be ok as long as their isn't one on the parent <td>.