Reel – Product Gallery Zoom & Video for WooCommerce
Reel upgrades the WooCommerce single product gallery with product image zoom, an accessible gallery lightbox and a featured product video: Hover zoom. Gallery images magnify on hover at a zoom scale you set (1.0× to 3.0×). The transform is clipped to the gallery frame, so the rest of the page stays
Reel upgrades the WooCommerce single product gallery with product image zoom, an accessible gallery lightbox and a featured product video:
- Hover zoom. Gallery images magnify on hover at a zoom scale you set (1.0× to 3.0×). The transform is clipped to the gallery frame, so the rest of the page stays put. On touch screens, two fingers pinch the image to zoom; a double tap or moving to another slide puts it back, and one finger still scrolls and swipes.
- Accessible lightbox. Click, or press Enter/Space, on any gallery image to open its full-size file full screen. Arrow buttons, the Left and Right keys or a swipe step through every gallery image, with an “Image 2 of 5” counter read out to screen readers. Tab stays inside the lightbox so focus can’t slip behind the overlay, Escape closes it, and focus returns to the image you opened. It’s a fixed overlay that starts hidden, so it reserves no space until used.
- Featured video. Show a per-product video, a self-hosted MP4/WebM file or a YouTube/Vimeo (oEmbed) URL, after the gallery, before the product summary, or in the gallery itself as the last slide with a play thumbnail. The video sits in a 16:9 frame sized with aspect-ratio , so its space is held before it loads. YouTube and Vimeo show a poster and a play button; the player loads only when the shopper presses play, and YouTube plays from youtube-nocookie.com.
The markup is built in PHP and progressively enhanced by vanilla JavaScript (no jQuery), deferred and loaded in the footer: the gallery script on the single product page, and a small click-to-play script only where a YouTube or Vimeo video is shown.
Settings live under a top-level Reel admin menu. Each of the three features has its own on/off switch; you can also set the zoom scale and skip it on touch devices, show an alt-text caption in the lightbox, relabel the open-image control for screen readers, and choose the video’s position, autoplay, heading and intro text. The per-product video URL is set on the Reel tab in the product editor, with an optional heading for that product.
To place the video somewhere other than the gallery area, drop the [reel_video] shortcode (it takes id and title attributes) into any product content. It renders the current product’s video in the same 16:9 frame.
Source and issue tracker: github.com/wppoland/plogins-reel , the plugin is developed in the open, so bug reports and pull requests are welcome there.