Community Forum

Over the years we have built up a community of email marketers, coders and designers that live and breathe email.

Use the Email on Acid Forum like your virtual water cooler: Stop by to discuss email code, quirky clients and fixes and post your issues (with an example of the code) for our community to offer its assistance.

How to set max-size for image to work on Outlook for desktop 2007 and 10


Total Posts:  2
Posted: 09 December 2016 03:00 AM


I want to restrict image size. if i use max-size in my code it is working for all email clients except Outlook for desktop some versions like 2007 and 2010 etc.

sample code: In below code i want to restrict the image size to 240px irrespective of width attribute.

<img src="URL_HERE" width="500" height="240" alt="" style="width:100%;max-width:240px;" /> 

Can any one help?



Alex Ilhan

Total Posts:  229
Posted: 09 December 2016 03:48 AM
[ # 1 ]

Hi venkatmantra,

Unfortunately Outlook 2007, 2010, 2013 and 2016 will not respect the max-width due to a lack of support.

This blog post by my colleague Geoff on Retina images has more information about this: