RSS to email - image resizing - outlook

I have a template built for rss to email which pulls in images from our blog. I have created the following css to resize any images pulled in which works on everything except Outlook (tested on 2007, not sure about others.

.rssbody img {

This is not working, the images are breaking the layout which is 550 wide, any suggestions?

roshodgekiss roshodgekiss, 4 years ago

Hey there smartfaceweb, mind me asking, but have you explicitly added a width to the <rssimage /> tag, eg:

<rssimage width="530" />

Not entirely sure why images are not resizing in Outlook 2007, but we're happy to look into this further for you, if both the CSS and width="530" aren't doing the job. Another idea is to use width:530px !important; - height: auto; is redundant, so you can safely strip this. Let us know how you go :)

Get in touch with us on Twitter:
We're also on Facebook:
kimbo, 3 years ago

Hi roshodgekiss! I am having the same problem with rss images. Outlook 2007 does not respect the width property in <rssimage width="173" />. The images are also re sized in css but that does not work either. I also tried the css rule I found here in the forums: .rssarticle img { max-width: 173px !important; height: auto; } but without any results. Do you have any suggestions to what to try next? The images are correctly re sized in all other major email clients.

The RSS feed is a instagram feed coming through and is constructed like this: <item>
                                            <description><![CDATA[<a href='link to image"' target='_blank'><img src='image source.jpg'/></a>]]></description>


roshodgekiss roshodgekiss, 3 years ago

Hi there kimbo, that's no good - I'd say your best bet at present is to contact our team with campaign/RSS feed details so we can look into why this width is being overridden. Sorry for the trouble here!

Get in touch with us on Twitter:
We're also on Facebook:
roshodgekiss roshodgekiss, 3 years ago

Hi again Kimbo, thank you for your earlier email to support - I just replied with what I discovered after testing your campaign. For the benefit of others reading this thread, I've determined that the issue at hand here is that you need to explicitly define width and height as HTML attributes in order to resize images properly in Outlook 2007+. These email clients don't respect the CSS width and height properties when applied to images. In addition, overflow: hidden isn't supported, which has resulted in layout issues for some of our customers.

We're currently in the process of looking at how we can improve resizing of RSS images, so I've recommended that we add an additional "height" attribute. In the future, I really hope that we can define RSS image proportions like so...

<rssimage width=“173” height=“173”>

... which will fix the image resizing issues in Outlook. Until then, importing and resizing RSS images in Outlook 2007+ may not be possible, I'm sorry to say. I'll update this post to mention the image resize issue in Outlook, plus get our support team across why this is happening.

We're really very sorry for not picking up this resizing issue earlier - it really slipped past me when I was testing RSS images in email. As soon as we come up with a suitable fix to this issue, we'll be sure to let you know.

Get in touch with us on Twitter:
We're also on Facebook:
ericmevans, 1 year ago

Has this issue been resolved?  I am having major issues with images from an rss feed that aren't resizing in Outlook 2010.  Even following the suggested "fix" to add explicit width and height to the rssimage tag....nothing.

roshodgekiss roshodgekiss, 1 year ago

Sadly, Outlook remains the outlier here, I'm sorry to say. Thank you for testing a workaround or two - and hopefully we'll get a height attribute added at some point, although it's not on our current roadmap, sorry.

Get in touch with us on Twitter:
We're also on Facebook:

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free