xpay✦ Commerce
Directory
WooCommerce plugins
WooSwipe WooCommerce Gallery
WooSwipe WooCommerce Gallery
A WooCommerce product gallery built with PhotoSwipe and Slick carousel — responsive, touch-friendly, and easy to customise.
4.5
(39 ratings)Will this break my store?
What the WordPress.org registry says about keeping WooSwipe WooCommerce Gallery running.
Tested to 7.0.2
Tested against the WordPress branch in use today.17 days ago
At least 3.7 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.4
Your host must be running at least this version.6.0
woocommerce
These must be installed and active first.2
Maintenance & trust
Scored on how WooSwipe WooCommerce Gallery is looked after — not on how many stores run it.
96
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
12 / 15Listing transparency
10 / 10Ratings
4.5
39 ratingsWooSwipe 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.
Features
- Responsive and mobile-friendly
- Keyboard control and full-size lightbox images
- Optional main-image slider with navigation arrows
- White or dark icon theme, customisable icon colours
- Optional Pinterest pin button
- Option to hide thumbnails when there is only one image
- Works with variable products and variation images
- Supports the
[product_page]shortcode
Developer hooks
Actions
wooswipe_before_main— before the gallery markupwooswipe_after_thumbs— after the thumbnail stripwooswipe_after_main— after the full gallery
Filters
wooswipe_zoomed_image_size— lightbox / zoom image size (default roughly 1920×1080)wooswipe_include_attachment— returnfalseto 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)
Zoomed image size example
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
Use this in your theme’s functions.php or a code-snippets plugin. WooSwipe respects it for both the main image and thumbnails (from 3.0.9):
function remove_featured_image( $html, $attachment_id ) {
global $post;
if ( ! $post ) {
return $html;
}
$featured_image = get_post_thumbnail_id( $post->ID );
if ( (int) $attachment_id === (int) $featured_image ) {
$html = '';
}
return $html;
}
add_filter( 'woocommerce_single_product_image_thumbnail_html', 'remove_featured_image', 10, 2 );
Or use the WooSwipe-specific filter:
add_filter( 'wooswipe_include_attachment', function( $include, $attachment_id ) {
global $post;
if ( $post && (int) $attachment_id === (int) get_post_thumbnail_id( $post->ID ) ) {
return false;
}
return $include;
}, 10, 2 );
When the featured image is excluded, WooSwipe uses the first gallery image as the main image.
This is usually a JavaScript conflict. Try:
- Disable other plugins one by one to find a conflict.
- Switch temporarily to a default theme (e.g. Twenty Twenty-Four).
- Check the browser console for script errors.
Yes. Use [product_page id="123"] with the correct product ID.
Categories
Plugin details
Tags on WordPress.org
