• Recently we are running into some issues with images getting past the image width restriction set by this awesome plugin.

    Here is a clip of an RSS example, which has one image that has gotten through with a large image width, and in this particular item it has replicated the image twice in the description.

    (we are using 560 as max width)

    <img width="2150" height="1410" src="https://example.org/wp-content/uploads/2022/03/example.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="" />

    We are using full text option and some images when they get to mailchimp are set to 1200px width, which is the default media setting for our “Large” image size.

    <img aria-describedby="caption-attachment-349843" title="Screen Shot" src="https://example.org/wp-content/uploads/2022/03/example.jpg" alt="" class="size-large wp-image-349843" width="1200" height="665" border="0">

    Settings:

    View post on imgur.com

    Environment:
    WP 5.8.3, PHP 7.4, Classic Editor,
    HackRepair list via iThemes Security is ON but this has not changed recently

    Would appreciate any insight you have, and also curious if anyone else is able to replicate this. Thanks!

    • This topic was modified 2 years, 8 months ago by Marty.
    • This topic was modified 2 years, 8 months ago by Marty.
    • This topic was modified 2 years, 8 months ago by Marty.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Marty

    (@bozzmedia)

    Reviewing my past mailchimp newsletters, this problem began around Feb 16, 2022. I realize there haven’t been updates to this plugin persay, and I don’t have any updates around then that point to anything in particular. Just FYI.

    Plugin Author Robin Cornett

    (@littlerchicken)

    The second image in the description may be coming from your theme or another plugin which is adding your featured image to the excerpt. I can’t tell from the markup where that’s coming from, but you’ll want to look for code that is running a filter on get_the_excerpt, the_excerpt, or the_excerpt_rss (that’s the one this plugin uses).

    Looking at your email feed, it looks like the content images are being processed correctly. Can you double check that your newsletter is still using the correct feed–the email one, not the main feed? The only large images I see in the feed are the duplicated featured images–the images in the content appear to be okay.

    Thread Starter Marty

    (@bozzmedia)

    Thanks for the response! Yes you’re right, the feed piped into mailchimp is the standard feed and not the email feed, interesting. Thanks for pointing me in the right direction with the filters and the role of the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image width exceeding limits’ is closed to new replies.