• Hello,

    I’ve ran into a little problem while using your theme.
    Some of my products have multiple images with differing formats.
    Somehow the images are now very unorganised and all over the place, it looks like they have been removed from a raster.

    Please have a look at the link below, this should be a bit more helpfull than my lacking explanation.

    Regards and thanks,

    Luuc

    • This topic was modified 4 years, 2 months ago by luuctaverne. Reason: replaced above with below

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Luuc,

    Add the below PHP snippet to your site with the Code Snippets plugin.

    
    add_filter( 'woocommerce_gallery_thumbnail_size', function( $size ) {
        return 'thumbnail';
    });
    

    Then visit Dashboard > Settings > Media to specify your own thumbnail size.

    Regards,
    Kharis

    Thread Starter luuctaverne

    (@luuctaverne)

    Hello Kharis,

    I’ve tried this but it doesn’t change anything.
    The images stay the same. Aren’t the thumbnails the images that are displayed on the catalogus, not on the single product page?

    Thanks,

    Luuc

    Hi Luuc,

    Please ensure whether the snippet has been enabled from Code Snippets or not.

    You may need to regenerate thumbnail with this plugin after specifying size from media settings.

    > Aren’t the thumbnails the images that are displayed on the catalogus, not on the single product page?

    That’s different thing. In the code above we use ‘thumbnail’ handle that is related to thumbnail size setting under Setting > Media.

    The thumbnail size on product catalogue is separate setting, which is can be done from Customizer.

    Regards,
    Kharis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Single product page images unorganised’ is closed to new replies.