• Hi,

    all images in the shop of my customer are 300×400. Your plugin seems to crop down the images to 100×100 by default. How do I change this the proper way?
    Changing the thumbnail-size in Woocommerce-Media-Settings has no effect anymore since installing your plugin. I tried messing around and overwriting your theme product-thumbnails.php and now at least most of the images are displayed the right way. Not the first one though (the small version of the main product image, inside the gallery). As soon as I change its size, it messes with the slick-track of the gallery and the variation-selection.

    Could you please point me out, how I can stop your plugin from cutting off parts of our images? What’s the intended way?

    Thanks in advance,

    Andy

    • This topic was modified 6 years, 9 months ago by macmesser.
    • This topic was modified 6 years, 9 months ago by macmesser.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Niloy – Codeixer

    (@im_niloy)

    use this filter

    add_filter ('woocommerce_get_image_size_gallery_thumbnail', function($size) { 
    	return array ( 'width' => 124,'height'=> 124, 'crop' => 0, ); 
    });

    and after that use ‘regenerate thumbnails’ plugin for resize

    Thread Starter macmesser

    (@macmesser)

    Thanks for your quick reply. I’ve undone all my prior changes, added the filter to functions.php and installed “regenerate thumbnails”. Unfortunately with your solution, I achieve what I achieved earlier too. This resizes all thumbnails except for the first one.
    But: slick-track is broken now…

    “regenerate thumbnails” doesn’t really seem to have an effect anyway. Activated or deactivated…same result

    • This reply was modified 6 years, 8 months ago by macmesser.
    • This reply was modified 6 years, 8 months ago by macmesser.
    • This reply was modified 6 years, 8 months ago by macmesser.
    • This reply was modified 6 years, 8 months ago by macmesser.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems changing thumbnail dimension’ is closed to new replies.