• Resolved CreaFlow

    (@jansesberger)


    Hi,

    since the update to WC 3.3 i’ve got a big problem with the thumbnails on my catalog pages. I’ve changed the thumbnails in customizer to a 4:3 aspect ratio with 300px width. after i did this, everything seemed to work again. but later on WC startet the background thumbnail regeneration. the process never finished and since then thumbnails won’t show up again on the website. instead only the original images are used, no thumbnails anymore.

    i stopped the background regeneration process but it didnt change anything.

    i also tried the following code in functions.php:
    add_filter( ‘woocommerce_background_image_regeneration’, ‘__return_false’ );
    add_filter( ‘woocommerce_resize_images’, ‘__return_false’ );

    that didnt help either. now i’m stuck and i dont know how to get my thumbnails back. could someone help me out?

    thanks in advance!
    martin

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    i also tried the following code in functions.php:
    add_filter( ‘woocommerce_background_image_regeneration’, ‘__return_false’ );
    add_filter( ‘woocommerce_resize_images’, ‘__return_false’ );
    

    That code disables everything so it’s not going to help you. Image sizes won’t be regenerated with that in place.

    Please read:
    https://github.com/woocommerce/woocommerce/wiki/Thumbnail-Image-Regeneration-in-3.3- and
    https://github.com/woocommerce/woocommerce/wiki/Customizing-image-sizes-in-3.3-

    However if your theme has a custom gallery which looks to be the case here, some of that won’t apply. You may want to see if the theme has it’s own template files with custom sizes.

    • This reply was modified 7 years, 1 month ago by Mike Jolley.
    Thread Starter CreaFlow

    (@jansesberger)

    hi!

    thanks for your infos. i also read the two linked articles.
    the code in functions.php was only a try, i deleted it after it didnt change anything.

    but it doesnt help, i really dont know how to get woocommerce to show the correct thumbnails. the strange thing is that it worked initially after activating the new image dimensions in customizer. but after the background regeneration process started it stopped working.

    any ideas what i can do?

    the next problem is that the shop template is quite old and there wont be any updates anymore because the development for it stopped a long time ago.

    • This reply was modified 7 years, 1 month ago by CreaFlow.
    Plugin Contributor Mike Jolley

    (@mikejolley)

    Look in the theme files and see if there are anything such as product-image.php/product-thumbnails.php

    Thread Starter CreaFlow

    (@jansesberger)

    @mike:

    i’ve found the two files within the theme folder. but i’m not sure if the problem really persists there. i’m not having problems in the single product view. the thumbnails are not shown on the archive pages.

    in the file content-product.php i’ve found the following code:

    
    <div class="product-image">
    	<a>">
    		<?php
    			/**
    			 * woocommerce_before_shop_loop_item_title hook
    			 *
    			 * @hooked woocommerce_show_product_loop_sale_flash - 10
    			 * @hooked woocommerce_template_loop_product_thumbnail - 10
    			 */
    			do_action( 'woocommerce_before_shop_loop_item_title' );
    		?>
    	</a>
    </div>
    

    but there is no code for the thumbnail..
    any ideas?

    [ Please do not bump. ]

    Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    hey @jansesberger, sorry for the late reply, did you get this working?

    melinda a11n

    (@melindahelt)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Thumbnails not showing since WC 3.3+’ is closed to new replies.