Tuesday, December 6th, 2016

VN:F [1.9.22_1171]
Rating: 4.9/5 (12 votes cast)

Breaking News: Changes to Gmail client

Breaking News: Changes to Gmail

We’ve noticed a couple of  email marketing tweets today asking about problems with rendering in Gmail and now, thanks to our friends @ Alchemy Worx, we know what the score is!

Here’s the notice regarding the problem sent out by Alchemy Worx today:

Gmail recently changed the way they interpret the code for displaying images.

Why does this matter?
It matters because it causes unwanted spaces to be added to your email marketing messages potentially breaking the layout of your HTML. Code that used to render perfectly may now render incorrectly.

The change appears to be affecting email marketing messages in Gmail webmail when viewed in Firefox, Opera, Chrome and Safari. However it does not appear to have any effect on HTML emails in Gmail webmail viewed in Internet Explorer.

The solution
This issue is similar to a long-standing Hotmail bug. However, although you can fix this by adding ” img {display:block} ” at the top of your email marketing messages in Hotmail, Gmail ignores this code so that fix will not work.

To ensure your HTML emails render the way they should in Gmail the following needs to be added to every image tag in your email marketing messages: ” <img style=”display:block” src=  ”

There is one exception: when you are displaying images directly alongside text, such as when you are wrapping text or putting images inside paragraphs.

Don’t forget your triggered and transactional messages
The change will not just affect new messages you create, it will also affect any triggered or transactional email templates you have already set up.

Once again, we want to thank the folks @ Alchemy Worx for not only alerting the email marketing community to the problem but, finding and offering a fix as well!

Here’s the original notice sent out by Alchemy Worx.

Alchemy Worx

  • Profile:  Jeff Ginsberg has 17+ years’ experience and is an industry known authority on email marketing who gets in the trenches with clients and helps them fulfill their marketing objectives, increase revenue and brand engagement. Clients rely on him and his team at The eMail Company to provide them with expertise from strategy to technology and from campaign management to channel integration. Jeff has worked with clients across all spectrums in the financial, automotive, retail and consumer packaged goods space. His experience covers both B2B and B2C markets. He has a strong background in educating and training agencies and clients about email best practices and is a wealth of knowledge when it comes to marketing tools and vendor selection. While Jeff’s team may be small, they know how to solve BIG email marketing problems. Looking for help with your next campaign? Don’t be afraid to give him a call – Jeff and his team ready to help you today. Give me a call: Toll Free: 877-We-eMail (877-933-6245) Local: 416-225-7711 eMail: jeff@theemailcompany.com
  • Website:  http://www.theemailguide.com
  • Twitter:   http://www.twitter.com/theemailguide
  • LinkedIn:   http://ca.linkedin.com/in/chiefemailofficer
Other post by this Author


25 Responses to “Breaking News: Changes to Gmail client”
  1. Kelly Johnson says:

    For those who it didn’t work… are you adding to specifically and ONLY the images that are rendering bad? You shouldn’t make it work on all images.

  2. Ravish says:

    Thanks for the solution

  3. akaplan says:

    hi all, we do a lot of QA testing across multiple accounts and browsers and found that adding style=”line-height:1px;” to the TD tag that contains the image fixes this problem.

    BUT – it does NOT fix a 1pixel high horizontal TD cell with a background color and a 1pixel high translucent spacer gif.

    • Jim Ducharme says:

      Thanks for adding this info Ak!

      Anytime you want to share your inisght, please drop by!


  4. Francesco says:

    The display:block trick didn’t work for me… (I have images in tables). But adding a font-size and a line-height (low values, like 1 or 2) to the TDs that contain the image, did.

  5. Alchemy Worx says:


    You are absolutely correct.

    In the case of this fix rendering in Gmail and rendering in Entourage are mutually exclusive. So the choices are build 2 versions or choose to optimize for either Gmail or entourage – all our clients have opted for Gmail.

    I guess you must have a lot of Mac users on your list

    Good spot by the way

  6. Darrell says:

    This code ‘fix” absolutely destroys the email when displayed in Entourage. For now we have decided to let the Gmail emails break. It’s the lesser of two evils.

  7. Pete says:

    It doesnt work the block code fix that is

  8. B. Moore says:

    Thank You for finding a solution!
    I just came across that bug this afternoon & it was driving me MAD!

    Here is a google thread on the topic:


  9. joe says:

    Do you know when these changes took place?

    • Jim Ducharme says:

      Hi Joe,

      We first saw tweets about the issue yesterday morning and then were notified by Alchemy Worx regarding the issue and posted immediately.


      • joe says:

        nice. Thanks. I’m not sure, but should your code example have a semi-colon before the last quote? Or maybe it doesn’t matter.

        instead of


        • Jim Ducharme says:

          It doesn’t appear to be required Joe since this is a style attribute for the img tag. I had to put in the extra quotes to ensure that WP wouldn’t remark it out in the post or go completely wonky and possibly launch a random ICBM or some such…

          Good catch there…I’ve revised the post to be more clear.



Check out what others are saying about this post...
  1. […] Email Marketing Gmail makes changes to image handling | The eMail Guide – The search engine fo… […]

  2. […] Email Marketing Gmail m&#1072k&#1077&#1109 changes t&#959 image handling | T&#1211&#1077 eMail &#823… […]

  3. […] Email Marketing Gmail m&#1072k&#1077&#1109 changes t&#959 image handling | T&#1211&#1077 eMail &#823… […]

  4. […] Email Marketing Gmail makes changes to image handling | The eMail Guide – The search engine fo… […]

  5. […] places have published workarounds including The Email Guide and Return […]

  6. […] More detailed information can be found here. […]

  7. […] This post was mentioned on Twitter by The Email Guide, The eMail Guide. The eMail Guide said: RT @theeMailguide: Breaking News: Changes to Gmail client img handling & fix! http://bit.ly/9WSFdM #emailmarketing #marketing #email […]

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!