Featured Image Is Displayed Twice In The Kallyas Theme

By default, the Kallyas theme adds the featured image to the end of the gallery. So when using WooThumbs, it shows up twice. To prevent this, you can add the following function to your child theme’s functions.php file.

/**
 * Remove featured image from gallery.
 */
function iconic_kallyas_remove_thumbnail_from_gallery(){
	remove_filter( 'woocommerce_product_get_gallery_image_ids', 'zn_add_main_image_to_gallery', 10 );
}

add_action( 'init', 'iconic_kallyas_remove_thumbnail_from_gallery' );

Once added, you may need to clear the image cache under WooCommerce > WooThumbs > Clear Image Cache.

👋 If none of these fixes work for you, please get in touch with us and we’ll do our best to help.

WooThumbs for WooCommerce

Enable zoom, sliders, video, fullscreen, multiple images per variation, and customisable layout options for your product imagery.

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.