• Resolved sn1k

    (@sn1k)


    Dear Community,
    i’m working with woocommerce and storefront, created a child theme and now have a problem.
    I want to change the image sizes of products.
    Therefore i found an woocommerce article, how to hardcode filesizes:

    add_theme_support( 'woocommerce', array(
        'thumbnail_image_width'         => 200,
        'gallery_thumbnail_image_width' => 100,
        'single_image_width'            => 500,
    ) );

    But after regenerating the thumbnails, all images have the same size?
    In the Theme-Customizer, i can just change the aspect ratio of the image, in my case 1:1.
    also without the showing code below. so there must be hardcoded the sizes.
    but where can i find them? and how to override them in a child theme?

    thank you in advance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Problem with custom Shop Image Sizes’ is closed to new replies.