High pixel density displays are becoming more and more common, with Apple’s Retina display available on the iPhone 4S, iPad 3, and now the MacBook Pro, and also showing up in devices such as the Samsung Galaxy Nexus. There’s no denying that these new-era displays are gorgeous, but they’re not without fault: high-density displays can make your email ugly.
The reason for that ugliness is an increase in PPI, or Pixels Per Inch, the measurement of the number of pixels spread across an inch of screen space. As displays get better and better, this number climbs higher. This increase has doubled the CSS pixel ratio of these displays from 1 to 2 (quirksmode explains here), so that a high-density display now has double the resolution of an older one; in the case of an iPhone 4s you go from a resolution of 480×320 to one of 960×640 instead, on the same 3.5 inches of screen.
The increased definition makes the small images we all use across the web — icons, logos, etc. — look fuzzy and unfocused. There are several solutions for websites, and a pretty simple one that works well for email.
By doubling the size of an image, then constraining its width with either CSS or the width attribute on the img tag, you can serve an image that maintains its sharpness when viewed on new device screens. This solution is simple, and it works consistently across multiple email clients. For an example of this technique, I’ll use our blog’s update email:

The MailChimp Blog email
The email has six small images that get fuzzified. In the header, there’s the MailChimp logo along with the forward and blog icons; in the footer it’s the unsubscribe, forward, and blog icons. Icons in both sections are 24×24 pixels, and the logo is 150×40. At these sizes, and viewed on a Retina display, we get this:
![]()
Fuzzy images on a high-density display
Since the CSS pixel ratio of newer displays is doubled, we can double the size of the images to 48×48 and 300×80. On the code side, constrain the images to the original sizes used in the template, and that can be done using the width attribute on the img element:
<img src="icon_header_blog_48x48.png" width="24" />
Simple enough. Apply this technique to each of the small images, and we end up with with a much clearer view:
![]()
Images optimized for high-density displays
We could be finished right here, but there’s one issue to be aware of: when you zoom in on the email, you’ll find the same blurring issue we started with, just less severe than it was at first. Depending on the level of zoom the device allows, you’ll see a bit of blurring on a wide variety of image sizes.
I found that the icons in our blog email blurred a bit all the way up to 256×256 pixels on the iPhone 4S Retina display. A 256×256 icon is pretty large, and the file size grows accordingly. That leads to the question of where to stop with the image size. While it’s nice to be able to get rid of the blurring across any display and at any zoom level, you’re adding more to the overall data load burden that your reader has to shoulder. File size may not necessarily matter when they’re at home, on cable internet, but it could be a concern if they’re on a low-tier data plan from their mobile carrier.
With an email that isn’t particularly image-heavy, you may want to chance going for a sharp image at deep zoom levels. If your email is like the MailChimp Blog update, however, you may want to stick to the bare minimum of doubling or tripling the image size, then using media queries to eliminate the need to zoom.
Keep high-density displays from uglifying your emails: High pixel density displays are becoming more and more co… http://t.co/67muzL1Q
Keep high-density displays from uglifying your emails: High pixel density displays are becoming m… http://t.co/fNrl40jL via @MailChimp
Keep high-density displays from uglifying your emails http://t.co/OhCB6AnT #Email
Keep high-density displays from uglifying your emails http://t.co/Hp37oGm9 via @mailchimp
Keep high-density displays from uglifying your emails
http://t.co/GtTqwkFx #techtweets #applenews #ios #followme
RT @killerjoe123 Keep high-density displays from uglifying your emails
http://t.co/aIhsdxDz #techtweets #applenews #ios #followme
Just say no to fuzzy.–> Keep high-density displays from uglifying your emails http://t.co/Wk0sIq8k via @mailchimp
All I hear when I see this stuff = “Everything you’ve done so far will now look like shit on a laptop also.” http://t.co/kB392EY6
Keep high-density displays from uglifying your emails: High pixel density displays are… http://t.co/Ph51VJJg
Keep high-density displays from uglifying your emails | MailChimp Blog http://t.co/wv9aVWXn
Good tip! RT @MailChimp: Keep high-density displays from uglifying your emails | MailChimp Blog http://t.co/7nc0VH81
Keep high-density displays from uglifying your emails | MailChimp Blog htt http://t.co/gjkrf4zn (via @ReadItLater)
Here’s @mailchimp’s solution to those disastrously high Apple Retina resolutions http://t.co/6zMudJrE
Keep high-density displays from uglifying your emails http://t.co/VT9PJ6Hd {read to get the simple fix!}
Keep high-density displays from uglifying your emails | MailChimp Blog http://t.co/shx5PrGb (via @MailChimp)
Keep high-density displays from uglifying your emails http://t.co/80gcJ2Ya via @mailchimp #emailmarketing
Keep high-density displays from uglifying your emails | MailChimp Email Marketing Blog http://t.co/lMpwLlZm
A good tip from @MailChimp – Keep high-density displays from uglifying your emails :: http://t.co/Fnd8oicj
Keep High-Density Displays from Uglifying Your Emails http://t.co/ZkIvDnw7 via @mailchimp
High-Density Displays Uglifying Your Emails? http://t.co/Zday6edA Cool fix via @mailchimp
Keep high-density displays from uglifying your emails http://t.co/ciTvW8Uj
I think I’ve got this. 2 questions though:
1. Should I therefore create a new email header image that is twice the size of the old email header?
2. Won’t this means that the images look wrong on all other devices? All other devices will be displaying a squashed large image, which in itself will look blurred. Am I wrong?
You can apply this same technique to header images, sure. You can actually do it to any image in a template. You just have to weigh that against how big in size your email gets. Bigger images incur higher data weight.
As far as the images looking bad on other devices, I haven’t found this to be the case. As long as the width (and, optionally, height) attribute is set correctly, the image will be correctly-sized on other displays. I haven’t run into any issues.
I noticed that even on my iPhone, some emails and pictures look fuzzy due to the screen resolution. Glad to see someone is addressing this issue.
Nice easy tip from MailChimp: http://t.co/sO9SraQw Keep HD displays from uglifying your emails.
Well, that’s a pretty interesting aspect of all the Retina buzz out there. It looks that the vast majority of sites on the Internet will have to tweak their images (at least a bit). Did I get it right?
You’ve got it right. This isn’t just an email problem – it’s an internet problem. Webmonkey has a quick read about the issue here.
Aha! Thanks for this. This is something our customers at Handset Detection are seeing more and more of so passing it on!
I am facing a conundrum. When I try to add a 2x header image to my template, the template editor generates a new file at 1x, therefore negating the high density approach. Am I missing something here? Is the only way to use a 2x image by putting it on an external site and using an absolute URL?
There’s actually two ways to add the image to your header and using the “Design Header” button as I suspect you used will prompt you to upload your own or use one of our images. In that particular case it will constrain and resize the resulting image. If you skip the “Design Header” button and just click on the “Change” or “Edit” button in that same area of the header you can add your header image there. At that point you will have the ability to constrain the proportions appropriately and your higher density image will remain unchanged.
I used the Change button, and the 2x header image (1200x400px) appears correctly in the editor. However, when I send out a test email it’s converted to the lower-res version (600x200px) of the same image.
Looking at the html of the test email, it looks like that image is hosted on gallery.mailchimp.com. Is there something I’m doing wrong?
Hi Matt, It all sounds about right, but it’s the kind of thing that’s hard to check on without seeing it. Would you mind contacting our support chimps at http://mailchimp.com/support so they can take a closer look?
I have a question about using an image that is double the size and resizing it with html. I believe that Outlook 2007 ignores the HTML and CSS size code and only displays the image in it’s true size. Is there a way to please both Outlook users and retina display users?
Hi Martyn, It’s not so much that Outlook ignores the HTML and CSS, but rather it needs to be set explicitly. Our new editor which you can read a bit more about here: http://eepurl.com/rNpqX should actually make all those calculations via media queries and max-width automatically. If you’re creating a regular campaign, you’ll just choose the Drag and Drop Editor over on the left hand side in the Design step. If you need a little extra help along the way our support team can be reached at http://mailchimp.com/support