• Resolved Nancy

    (@dotdabbledorg)


    Hi, we have been using this filter to set the image size to “medium” vs “thumbnail”, and it seems to no longer work since last upgrade. Is there a fix?

    add_filter( ‘testimonials_widget_image_size’, ‘my_testimonials_widget_image_size’ );

    function my_testimonials_widget_image_size( $size ) {
    $size = “medium”;

    return $size;
    }

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

Viewing 1 replies (of 1 total)
  • Thread Starter Nancy

    (@dotdabbledorg)

    Responding to my own message in case anyone else has this problem and needs the fix.

    I poked into the code:
    The filter name had changed from testimonials_widget_image_size to tw_image_size

    So if you want to change the size of your image, add this to your functions file.

    add_filter( ‘tw_image_size’, ‘my_tw_image_size’ );
    function my_tw_image_size( $size ) {
    $size = “medium”;
    return $size;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Using a different image size no longer works?’ is closed to new replies.