• Resolved macon11

    (@macon11)


    The plugin works fine, but the images are too big. This slows down the website. It resizes some pictures to 1400px. This also makes the image size to big and that leads to a slower website. How can I change the size of the images they should maximal have?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hello,

    Sorry for my late answer,

    By default, WooCommerce doesn’t set a height for single product image to prevent it from being cropped.

    You can fix that by adding the code snippet below to functions.php in your theme.

    add_filter('woocommerce_get_image_size_single', function($size){
        $size['height'] = 600;
        $size['width'] = 600;
        return $size;
    });

    Note: You will have to regenerate thumbnails after that.

    Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hi,
    I’m closing this thread for inactivity.
    If you still need help, feel free to create a new ticket.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image size too big’ is closed to new replies.