• Resolved playerone86

    (@playerone86)


    Hello, I have a news website with thousands of images. This means that I also have thousands of unused 350×100 cmplz_banner_image thumbnails filling up the server space. How to stop complianz from generating this thumbnails? In a previous thread it was mentioned the “disable generate thumbnails”, which for some reason doesn’t list (anymore?) this particular image format and so it becomes impossible to stop wp from generating these thumbnails. Is there anything I could do? Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support daniub

    (@daniub)

    Hi!

    Thank you for reaching out to us with your concerns!

    After looking into the matter, I have found a viable solution for you. There is a code snippet that you can apply to prevent the generation of these particular image thumbnails. However, it is important to note that Complianz only adds images with the 350×100 resolution, and any other image sizes are not affected by Complianz.

    Here is the code snippet that you can use:

    function remove_cmplz_banner_image()
    {
        remove_image_size('cmplz_banner_image');
    }
    add_action('admin_init', 'remove_cmplz_banner_image', 20);

    By adding this code to your website, you will effectively disable the generation of the 350×100 cmplz_banner_image thumbnails. This will help prevent the unnecessary utilization of your server space.

    If have any further questions, please feel free to reach out to us.

    We are here to assist you and ensure that your website functions smoothly!

    Hello, I am slightly worried about this. We turned on the Complianz plugin yesterday. Do I understand correctly that the plugin creates an additional thumbnail for every uploaded image we need in regular articles?

    And does this happen even if we don’t show a logo in the consent banner at all?

    In other words: is the snippet given above necessary for every user or only in some cases (depending on plugin settings).

    Thread Starter playerone86

    (@playerone86)

    Hello, thanks for your reply, I’m going to try this snippet. @yuriv it seems to me that the 350×100 thumbnails are created regardless of any setting for the logo. But maybe it’s better to wait for a reply from the plugin support

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to get rid of cmplz_banner_image’ is closed to new replies.