• I am cleaning up the images on my site and want to delete everything but “thumbnail” & “Fullsize”
    Using the plugin Force Regenerate Thumbnails, it does this but it is giving me another size when it rebuilds it.
    I tracked it down to this plugin and can’t find a setting in the backend of wordpress to turn it off.

    add_image_size(‘wysija-newsletters-max’, 600, 9999);

    I am going to remove this line so that I can cleanup the images.

    Could you please include an option to disable this in your next update?

    Thanks

    https://www.ads-software.com/plugins/wysija-newsletters/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I too want to disable the mailpoet auto generated image. Is there a way to do this without editing the plugin code directly? With say a function in functions.php?

    Hi,

    Unfortunately right now there is no plan to remove this. However, we will definitely consider adding it to the next version of MailPoet.

    Thanks!

    @magneticeye, not sure if this is what you are looking for, but this code added to the functions.php file appears to disable the MailPoet plugin generated thumbnail. Not sure if this will break anything with mailpoet, but the extra thumbnail doesn’t seem to auto create anymore since adding this code.

    function remove_mailpoet_thumb( $sizes) {
    unset( $sizes['wysija-newsletters-max']);
    return $sizes;
    }
    add_filter('intermediate_image_sizes_advanced', 'remove_mailpoet_thumb');
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Setting for add_image_size’ is closed to new replies.