Outlook 2007 & 2010 bug: Embedded images being cropped
I’ve just been creating the HTML for an Email to be sent out on behalf of a client and have found what appears to be a bug in Outlook 2007 & 2010 (which use the MS Word rendering engine) when using tall images in HTML Emails.
My HTML Email was created from a JPEG designed by a design agency which I simply sliced up in Photoshop to allow me to use one image as a hyperlink (we have to do this nowadays since Outlook 2007 and 2010 don’t support background images). Photoshop created 6 slices, the top 3 were 2056 pixels tall. I used the traditional, nasty table-based HTML for the Email as it tends to be more reliable on various Email clients which our Clients demand.
I found that Outlook 2007 and 2010 effectively cropped the top 3 images, cutting off the top 450 pixels or so…how odd!
I am wondering if the problem is absolute height (i.e. a lot of pixels) or aspect ratio. I will do some tests to find out when time permits.
There were 2 solutions I found:
Solution 1:
Use divs to format the HTML instead of tables but as I said previously, this is much more difficult to make reliable across various Email clients.
Solution 2:
Slice the images up into shorter dimensions, I ended up slicing the images to around 500px tall which seems to work absolutely fine.
I’d be very interested to hear if anyone else has experienced the same issue.
Hope that saves you some time…it took me about an hour of bug-chasing!
| This entry was posted by Neil Craig on July 2, 2010 at 11:13 am, and is filed under General Web-Development, html emails. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 2 years ago
Thanks heaps for this hints.
about 2 years ago
This is 4 times now that i’ve come on your website in the last two days while searching Yahoo for absolutely unrelated stuff. Kinda odd. Keep up the good work!
about 2 years ago
Yet another handy post, always nice to visit your site! Keep up the good work!
about 2 years ago
Hello
Awesome post, just want to say thanks for the share
about 2 years ago
I have this same problem with images of any height being cropped (vertically). Only workaround so far is to make sure the images are not contained in a tag…
about 1 year ago
Hi, thanks a lot for the post, this strange bug bit me today. Sliced my image up to two images about 1200 and 1000 tall (rather than one at 2200), and they work just fine.
about 1 year ago
Thank you. Amazingly, I had the exact same problem. It seemed your post depicted the same scenario I was experiencing to a “T”. I will try solution #2.
about 1 year ago
I have the same issue with Outlook 2010.
my image has 500px width and is still cropped.
i will try to first solution.
about 6 months ago
I am facing huge trouble and this post helped me alot, thx 4 tht. but I need some help u guys if u can do it. I made a card from ps6 and I use animation(gif) in one part in other part I use save as html after using slice tool to tag some pic in side my inage. everything came fine. and all browsers fine but when it taken to as outlook 2007 as stationary it brakes to 4 parts and can see tables and also see borders (white). funny bit is , there is no border , spacing or padding all = to 0. how can I fix this problem .
about 6 months ago
Hi
Sounds like you might need to add some CSS to the table. Try adding:
border-collapse:collapseYou might want to also just make sure you’ve got no padding or margin on tds.
Any good?
about 3 months ago
take your design and use http://www.emailslicer.com/ tool to slice it and the code will be provided automatically so no need for adobe or other software out there expensive to buy. I do it myself and just add the optout and I m good to go. I worked with odesk and elance and hired html email coders but now since I found this tools I cant say how great full and stress free I m.