Hey Sara, what is your RSS Image Size set to? I would leave it at 560, because that’s really intended to be the width of your email. Smaller images are styled and aligned based on how large they are compared to this number.
If you set it to 560 (standard MailChimp email size), that should sort you out, but we may still need to dig a little bit. The plugin measures the image and compares it to the Image Size; if it’s smaller, it does try to honor the alignment. The image in that post looks to be smaller than 560 pixels, so it should work out. Keep me posted and good luck!
Thread Starter
sd1111
(@sd1111)
Ah! Ok, then we have a different issue. When the RSS Image Size is set to 560, my headshots are showing up as 560px wide even though the original post uses a “medium” size, right-aligned image.
Screenshot now: http://11web.com/files/cc-rss-problem-screenshot-20150304.png
I did regenerate thumbnails, if that matters. Thank you Robin!
Gotcha. OK, so that one is happening because the original image is 740px wide, and the plugin does its evaluation based on that. One immediate way to work around is to upload and use a smaller version of that image–just resize it to what you actually need.
This is kind of a tricky spot in the plugin, and may be worth looking into revising. I’ll look into it and let you know, but for the moment, I would upload a smaller version of the headshot and use that.
Thread Starter
sd1111
(@sd1111)
Ah, bummer. I was hoping the client wouldn’t have to do any image resizing to make this work. Thanks for your help, and please do consider revising (though I know this isn’t all you do! 😉 )
Cheers,
Sara
Sara, I may have a fix for you, but I have not thoroughly tested. Would you be willing/able to swap out one plugin file and see if it sorts out the issue?
It’s in the includes folder in the plugin–the feed-fixer file (this is a link to the file on GitHub). I only changed one line, but it seems to do the job locally. If you are able to FTP and change out this file, and let me know the results, I would very much appreciate it (you may have to refresh the feed a couple times, or clear the cache and refresh it, as feeds are stubborn).
I would definitely appreciate knowing if this sorts out the issue for you, as it does make sense to include it in the official plugin. Thank you.
Hi Robin. I just did as you said and it works like a dream! Images aligned left or right in WP now do so in the mailchimp campaigns. even setting them as thumnail size makes them like that in mailchimp.
Will you be including this in the next release? I hope so as its now hard coded into my plugin file. Any new update will override it.
Thanks again for solving this.
Just wanted to let you both know that I have not forgotten about this and have been working on the best way to incorporate it into the plugin. If you are still following this thread and are interested in testing the next version of the plugin, which includes this features as an optional filter, I’d love to hear that it’s working correctly for you. You can download the next release directly from Github, and you’ll want to replace your existing copy of the plugin.
To enable this new filter, you’ll just need to add this line of code to your site somewhere, such as your functions.php file or a utility/functionality plugin:
add_filter( 'send_images_rss_change_small_images', '__return_false' );
That’s it. The small images will stay small, even if a large version of them exists on the site. If you test this, I’d love to know for certain that it works for you, but adding this line to your site will keep this going when you update the plugin.