• Resolved alecar

    (@alecar)


    Hello,

    I am having an issue with the thumbnails of my embedded post inside a single post. For some reason, it is using the custom image size of your plugin.

    I have already tried the plugin “Disable Generate Thumbnails” which you have recommended before but your custom size does not appear there.

    Is there other way that I can deactivate it? Thank you.

    Kind regards.

Viewing 1 replies (of 1 total)
  • Plugin Support daniub

    (@daniub)

    Hi,

    You can use the following snippet as an MU Plugin (place it in a .php file and upload it to the folder /wp-content/mu-plugins/, or remove the first <?php tag and then put it in functions.php of your active theme) to prevent this behaviour. It will prevent the Complianz resolution from being added. However, note that in themes like Twenty Twenty-Four, other image sizes may still be added (which are not controlled by Complianz).

    <?php
    function remove_cmplz_banner_image()
    {
    remove_image_size(‘cmplz_banner_image’);
    }
    add_action(‘admin_init’, ‘remove_cmplz_banner_image’, 20);

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.