MailChimp – How to Add Images to RSS feeds in WordPress

A client needed to import her RSS feed into a MailChimp campaign but the image wasn’t showing up. Here is how I finally got it to work.


You first need to make sure the feed ( usually) is correctly bringing in the first image. I used a plugin called wpRichFeeds plugin removed, here is a new download link (view plugin author site) which adds the enclosure information to your feed in WordPress. This is basically plug-n-play.

MailChimp Code

Then with some creative MailChimp RSS merge tags I got it to work. This is what I used:

<a href="*|RSSITEM:URL|*"><img alt="" src="*|RSSITEM:ENCLOSURE_URL|*" width="300" height="200" /></a>

I hope this will save some people the aggravation of trying to get MailChimp to automatically pull in blog post images from an RSS feed.

This post also helped me get to this point, RSS email: include post thumbnail image from WordPress RSS feed

Here are the MailChimp RSS merge codes for reference.

Please comment if this helps you out! Any tweaks?



Tags: , , , ,

20 Responses to “MailChimp – How to Add Images to RSS feeds in WordPress”

  1. Kaelin April 2, 2011 at 10:30 am #

    Which would be exceptionally helpful information, except you have an xml parse error on your feed, so we can’t look at the results.


  2. John April 23, 2011 at 12:30 pm #

    This is great stuff! Works perfectly.

    I do have a question related to this though. Do you know how to use the *|RSSITEM:CONTENT|* tag but show a longer amount of text? I’d like to show more text than the default, but less than *|RSSITEM:CONTENT_FULL|*


    • Blake Imeson April 25, 2011 at 12:34 pm #

      I don’t know off-hand but I would think there would be someway to control the excerpt length. I’ll let you know if I find anything.

  3. Christian August 29, 2011 at 8:09 pm #

    Thanks a lot! Finally managed to get images working after reading this post.

  4. EN September 13, 2011 at 7:33 pm #

    This is excellent!!!! Quick question? Is there a way to integrate that functionality with Mailchimp’s post code: *|RSS:POSTS_HTML|*

    The end result is an image beside each post text blurb.

  5. Jeremy Myers January 17, 2012 at 10:17 pm #

    What happened to the image? It’s broken, and it contains the information I need!

    • LimeCuda January 18, 2012 at 2:37 pm #

      Sorry, I had a plugin that needed to be reenabled

  6. codrin May 28, 2012 at 11:50 am #

    hmmm…the image, please…

  7. James McBride May 29, 2012 at 7:08 am #

    I have the same problem as Jeremy, the solution to the problem I have isn’t on the page anymore because the image isn’t showing!

  8. LimeCuda May 29, 2012 at 2:01 pm #

    The syntax plugin has been fixed, the text should be visible again.

  9. James McBride May 31, 2012 at 11:37 pm #

    Thanks so much for fixing this, I’ve been pulling my hair out for 2 weeks over this issue. MailChimp should really integrate your solution into their help section.

  10. Ancient Wisdom June 1, 2012 at 6:27 pm #

    Thanks Blake – the link to the plugin above doesn’t work, but I found out through the author site that you can download wpRichFeeds from here:

  11. Blake Imeson June 1, 2012 at 7:50 pm #

    Thanks, I updated the post with the new link.

  12. Hollie Olivia June 13, 2012 at 10:05 pm #

    After hours of mucking about elsewhere, this worked like a hot damn. Awesome.
    Much gratitude.

  13. jason October 25, 2012 at 6:00 pm #

    Thank you. I have been trying to figure this out for a couple hours.

  14. Groux March 28, 2013 at 8:51 am #

    Thanks !!! I love you

  15. Yashwant April 27, 2013 at 2:02 pm #

    Thanks a ton man !! I was trying to figure out a solution for my mail chimp campaign and your suggestion worked.. :)

  16. Julian November 21, 2013 at 2:01 pm #

    Awesome, worked like a charm!

  17. Julie @ meybestandi August 23, 2014 at 6:40 am #

    sorry stupid question (WP newbie) where does the code go?

Leave a Reply