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 #1884322
Adjustment of Image Size
Closed

Comments

  • Timo started the conversation

    I need to adjust the values of:

    'thegem-blog-default-large' => array(1170, 780, true),
    'thegem-blog-default-medium' => array(780, 520, true),
    'thegem-blog-default-small' => array(520, 346, true),
    'thegem-blog-timeline' => array(440, 0, true),
    'thegem-blog-timeline-small' => array(370, 0, true),
    'thegem-blog-timeline-large' => array(720, 0, true),
    'thegem-blog-default' => array(1170, 780, true),

    Is there a possibility to persist these changes in the function.php of the child theme?

    Thanks in advance for your help!


  •  7,095
    Oliver replied

    HI,

    Yes, here:

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

    after adding this 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