• Howdy Robin. I am trying to reduce the size of my uploads folder and I would like your support to do a certain number of things. What I want is to disable all thumbnail sizes set by this plugin (including the MailChimp one). But at the same time, I would like you to assist me with the code I can use to set an already existing image size (called ‘post-image) as an option in the plugin’s choices. I will really appreciate this. Thank you in advance. (I use the LiteSpeed Cache plugin which creates a backup of images, then optimizes them, and still creates a webp version of the images. So, imagine having original images, the backups of originals, the optimized versions and the webp versions in the same folder!) This is why I am trying to keep the image sizes as few as possible)

Viewing 1 replies (of 1 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    To remove the plugin image size, you’ll want to run the remove_image_size function (ref) and remove the mailchimp image size. You can run it on the init hook, but it would need to have a higher (larger) priority than 10, which is when the image size is added.

    To add your own image size to the list of image sizes, add it to the list of allowed image sizes using the send_images_rss_thumbnail_size_list filter (ref).

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Remove the thumbnail set by the plugin’ is closed to new replies.