Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2432331
Change image size
Closed

Comments

  • Timo started the conversation

    Which approach shall be used to change the image sizes like "thegem-blog-default"?

    Thanks for your help.

  •  7,092
    Oliver replied

    Hi,

    Here is code example:

    function thegem_image_sizes_new($sizes) {
        $sizes['thegem-blog-default"'] =  array(500, 500, true);
        return $sizes;
    }
    add_filter( 'thegem_image_sizes', 'thegem_image_sizes_new');
    

    After you add the code you need to start regenerate thumbnails pluginĀ 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver