

Default gallery layout
WooSwipe replaces the default WooCommerce product gallery with a clean PhotoSwipe lightbox and Slick thumbnail carousel.
It works with your WooCommerce product image settings. Adjust sizes under Appearance Customize WooCommerce Product Images. Regenerate thumbnails after changing sizes (for example with AJAX Thumbnail Rebuild). If your theme registers its own image sizes, those may take priority.
[product_page] shortcodeActions
wooswipe_before_main — before the gallery markupwooswipe_after_thumbs — after the thumbnail stripwooswipe_after_main — after the full galleryFilters
wooswipe_zoomed_image_size — lightbox / zoom image size (default roughly 1920×1080)wooswipe_include_attachment — return false to exclude an attachment from the gallerywoocommerce_single_product_image_thumbnail_html — returning an empty string for an attachment also excludes it from the main image and thumbs (see FAQ)add_filter( 'wooswipe_zoomed_image_size', 'wooswipe_max_image_size', 10, 1 );
function wooswipe_max_image_size( $size ) {
return 'large';
}
More info: WooSwipe on Thrive · GitHub