• Resolved emmeten

    (@emmeten)


    Hi,

    after updating to 3.5.0 the product variation images cropped to 1:1, changed their size to 150x150px, and got blurred.

    Please help, thank you

    Kind Regards
    Marco

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If you need support then per the forum guidelines please start your own topic.

    https://wordpress.org/support/guidelines/#post-in-the-best-place

    You can do so here.

    https://wordpress.org/support/plugin/woocommerce/#new-post

    Plugin Contributor Claudiu Lodromanean

    (@claudiulodro)

    Hi,

    A few other people seem to be having this same issue. I’m investigating and following up if a patch is needed at https://github.com/woocommerce/woocommerce/issues/21646.

    Thanks.

    Out theme developer released a fixed for this bug. Maybe other will benefit from it

    /**
    * ————————————————————————————————
    * Fix for single product image sizes
    * ————————————————————————————————
    */
    if ( ! function_exists( ‘woodmart_single_product_image_sizes’) ) {
    function woodmart_single_product_image_sizes() {
    $sizes = wc_get_image_size( ‘woocommerce_single’ );
    if ( ! $sizes[‘height’] ) {
    $sizes[‘height’] = $sizes[‘width’];
    }

    return array( $sizes[‘width’], $sizes[‘height’] );
    }

    add_filter( ‘woocommerce_gallery_thumbnail_size’, ‘woodmart_single_product_image_sizes’ );
    }

    Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Thanks for the input @moultrex.

    The fix for this will be in 3.5.1 as per the comment here, as well as a workaround for now so will close this thread.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘After Update to 3.5.0: Product Variation Images size changed’ is closed to new replies.