Fix
Lightbox close (X) button now works on mobile — the invisible full-height touch tap zones for prev/next were covering the entire overlay including the toolbar; they now start below the toolbar height so the close button always receives taps.
Fix
Toolbar and footer promoted to z-index 4/3 respectively, above the nav ghost buttons (z-index 2), giving filmstrip thumbnails and all toolbar buttons guaranteed pointer-event priority on touch devices.
Fix
Navigation animation no longer shakes/flickers on the first frame — the base transition was briefly competing with the incoming slide animation for one repaint after the out-class was removed; transition: none on in-classes eliminates the conflict.
Version 1.0.22
Fix
Dynamic CSS chunks (lightbox.css, etc.) now use content-hashed filenames matching the JS chunks, so CSS updates are never served from a stale CDN cache.
Fix
Lightbox no longer allows the page to scroll underneath on iOS Safari — uses the position: fixed; top: -Xpx scroll-lock technique that iOS actually honors, and restores the exact scroll position on close.
Fix
Pull-to-refresh can no longer accidentally trigger inside the lightbox overlay — overscroll-behavior: none hands all downward swipes to our own swipe-to-close gesture handler.
Improved
Toolbar, prev/next, and filmstrip buttons now have touch-action: manipulation — removes the 300 ms tap delay on mobile for immediate, app-like response.
Improved
Filmstrip uses scroll-snap-type: x mandatory so dragging snaps cleanly to each thumbnail, matching the feel of a native mobile app.
Version 1.0.21
Fix
Lightbox no longer skips product slider variation slides due to stale CDN/browser cache — async JS chunks now use content-hashed filenames (hdg-lightbox.[hash].js) so every build produces a unique URL that bypasses all cache layers.
Fix
Lightbox filmstrip now shows the correct 150×150 thumbnail for each WooCommerce product slider slide (gallery and variation images) instead of the display-size image.
Version 1.0.20
Fix
WooCommerce color swatches whose variation image is not in the product gallery now correctly appear as extra slides in the product slider and are clickable from the lightbox filmstrip. Previously those swatches got target_index = -1 and did nothing on click.
Perf: get_available_variations() is now fetched once per product instead of twice (the variation-image append pass and collect_color_swatches() now share the same result).
Version 1.0.19
New
Lightbox CTA button — set CTA Button Text under Content → Click Action to show a configurable button inside the lightbox. The button URL resolves per-image: each item's own link (post URL, product URL, or per-image custom URL set in the media library) is used automatically; set Button URL Override to apply one URL across all images instead. Button Link Opens In controls same-window vs new-tab behaviour. The URL and target fields are hidden until button text is entered.
Fix
Posts / CPT "Number of Items" count under-delivery — meta_query _thumbnail_id EXISTS in WP_Query silently reduced results when some posts lacked a featured image; the constraint has been removed and the existing fallback-thumbnail search handles imageless posts.
Fix
Media Library ID-mode showing fewer images than selected — a stale category slug from a previously-active source mode was inadvertently filtering hand-picked images; the tax_query is now applied only in category-only mode.
Fix
WooCommerce product slider images not appearing in lightbox — lightbox navigation now uses anchor elements directly rather than gallery item wrappers, so all slider slides (not just the featured image) are correctly indexed and navigable; non-featured slide anchors now also carry data-thumb, data-source and data-meta attributes so filmstrip thumbnails and the info panel populate correctly.
Version 1.0.18
New
Per-source OrderBy option sets — each content source now shows only the sort fields that are meaningful for it (e.g. Price / Popularity / Rating for WooCommerce; Menu Order for CPT; Upload Date / ID for Media Library).
New
WooCommerce price, popularity and rating sorting now correctly maps to meta_value_num + the relevant meta key (_price, total_sales, _wc_average_rating) in the WP_Query.
Fix
ACF source orderBy and orderDir were silently ignored — AcfDataSource now reads and applies both values to the WP_Query, and the Visual Builder panel now shows the orderBy field for ACF.
Fix
Caption vertical-position Center no longer stretches the caption container to full image height — background colours now only cover the caption area, not the entire image.
Fix
Caption Center + Content Visibility "Show on Hover" combination now positions correctly — the hover-reveal transform is blended with the centering offset (calc(-50% + 6px)), so the caption animates from just below centre back to centre.
Improved
VB preview endpoint (/hdg/v1/preview-items) now caches responses with a 30-second transient keyed to the full request parameter fingerprint, eliminating repeated WP_Query calls on every attribute change.
Securityorderby and order REST parameters now use an enum allowlist — invalid values return a 400 error instead of being silently discarded.
Security
Custom field key REST params (cf1_key, cf2_key, cf3_key) now use sanitize_key instead of sanitize_text_field.
Securitydata-image-ids HTML attribute now outputs the sanitised, parsed ID list rather than the raw saved attribute string.
Version 1.0.17
New
Lightbox slideshow with configurable per-slide delay (1–60 s, range field with ms unit), auto-start option, hover-pause and Space / P keyboard toggle.
New
Lightbox rotate-left / rotate-right buttons (R / Shift+R) — rotation is preserved across navigation until the lightbox is closed.
New
Distraction-free / hide-UI mode (H key or eye button) — fades all chrome to a cinema view; chrome only re-appears when the pointer is within 80 px of the top or bottom edge of the viewport, so clicking the button no longer instantly re-shows the toolbar. Toast confirms the state change and the button itself takes a pressed style.
New
Optional looping navigation — wrap from last image back to first and vice-versa.
New
Mouse-wheel navigation with cooldown throttling so a single trackpad scroll doesn't fire multiple navigates.
New
Swipe-down-to-close, pinch-to-zoom and double-tap-to-zoom on touch devices.
New
Auto-hide-in-fullscreen — chrome and cursor fade after 2.5 s of inactivity.
New
Six new per-module toggles under Content → Click Action — Show Slideshow Button, Show Rotate Buttons, Show Distraction-free Button, Loop Navigation, Auto-start Slideshow, Slideshow Delay (ms). All lb* fields are now hidden when the click action is not *Open in lightbox*.
New
Lightbox typography in the Design tab — independent font groups for Title, Subtitle / counter and Info Text, plus the existing lightbox background group.
Improvement: large-desktop / 4K / landscape-mobile / forced-colors polish in the lightbox stylesheet.
Fix
Carousel "next image bleeding from the right on hover" caused by a descendant hover-scale rule matching off-screen slide images.
FixlbAutoplaySpeed range field now shows the ms unit in the Visual Builder instead of the default px (uses defaultUnit / allowedUnits to match the columns and gap pattern).
Version 1.0.16
Fix
Align wcFeatured default value across edit.jsx, REST controller, render callback and WooCommerce data source — all paths now use off (matching the divi/toggle field type in module.json).
Fix
Prevent Chrome's Google Translate engine from rewriting the Sale / Out-of-Stock badge text (e.g. "Sale" → "Dirty" on French pages) by adding translate="no" and the notranslate class on the badge spans.
Security
Mark the gallery root container with notranslate so browser-level page translators no longer mutate the React subtree (eliminates the cascade of insertBefore errors caught by Divi's ErrorBoundary).
Docs: add readme.txt for the WordPress Plugin Directory format.
Version 1.0.15
Improvement: out-of-stock badge now respects its own background / text colour pickers under Design → Product Design.
Improvement: cart-icon size, colour, background and border-radius controls now apply via CSS variables in both VB preview and frontend.
Fix
Regular-price / sale-price colour overrides were not being injected into the inline style fallback.
Version 1.0.14
New
Configurable Sale badge position (top-left / top-right) and Out-of-Stock badge position (top-left / top-right).
New
Add-to-Cart button can be set to full width via a single toggle.
Fix
WooCommerce price HTML now renders correctly when the product is on sale and a min/max price filter is active.
Version 1.0.13
New
WooCommerce filters — minimum / maximum price, minimum star rating, product tags (multi-select), stock status.
New
Frontend sort dropdown and price-range slider (opt-in toggles, no impact when disabled).
Improved
The WooCommerceDataSource query now reuses Woo's product visibility taxonomy lookup instead of re-querying it per item.
Version 1.0.12
New
Product carousel inside each gallery item — featured image plus the product gallery, with optional arrows and dots.
New
Colour-swatch row beneath each product, wired to the carousel slides.
Fix
Lazy-load placeholder no longer flashes when a product carousel is the first slide.
Version 1.0.11
New
ACF Gallery / Image / Image Array field support — pick any post type and any ACF field, items render in field order.
New
Custom Post Type source with category / taxonomy term filtering.
Fix
REST endpoint /hdg/v1/source-options correctly returns ACF fields scoped to the chosen post type.
Version 1.0.10
New
Deep-link support for the filter bar — ?hdg_cat=slug opens the gallery with that category pre-selected.
New
Optional sticky filter controls that follow the viewport while scrolling the gallery.
Improvement: filter bar now exposes a "pills" and "underline" style choice.
Version 1.0.9
New
Numbered pagination with smart page-list compaction (1 … 4 5 6 … 12).
New
Per-breakpoint visibility toggles for pagination (desktop / tablet / phone).
Fix
Load-more mode no longer re-fetches the first page when re-opening a saved layout.
Version 1.0.8
New
Infinite-scroll pagination using IntersectionObserver with a configurable sentinel offset.
New
Customisable "Load More", "Previous" and "Next" labels (translation-ready).
Improvement: per-page count is enforced server-side to prevent abusive REST queries.
Version 1.0.7
New
Custom lightbox with thumbnails strip, info panel, download, fullscreen, zoom and share controls — each individually toggleable.
New
Click-action now offers Lightbox / Custom URL / Attachment Page / None.
Fix
Keyboard focus is restored to the originating thumbnail after the lightbox closes.
Version 1.0.6
New
Caption block with title, caption text, price and Add-to-Cart, plus per-element visibility toggles.
New
Content position (overlay / below) and vertical / horizontal alignment controls.
Improvement: Justified layout now forces overlay captions to avoid breaking the computed row heights.
Version 1.0.5
New
Lazy loading with blur, dominant-color and none placeholders.
Fix
Image natural aspect ratio is now exposed as a CSS variable so Grid items don't jump on load.
Version 1.0.4
New
Category / taxonomy filter bar (toggleable per module) with an "All" button and a hide-all option.
New
REST endpoint /hdg/v1/source-options for populating dynamic category / post-type / CPT-term / ACF-field dropdowns in the Visual Builder.
Version 1.0.3
New
Card layout — gallery items rendered as standalone cards with shadow, border-radius and hover-lift design tokens.
Improvement: Visual Builder preview now uses the new /hdg/v1/preview-items endpoint, returning the same normalised GalleryItem shape used by the frontend.
Version 1.0.2
New
Justified layout (Flickr-style) with configurable row height and last-row alignment.
New
WooCommerce data source — query products by category, on-sale flag and featured flag.
Version 1.0.1
New
Masonry layout backed by a lightweight runtime (no jQuery dependency).
Improvement: VB preview re-renders only when the relevant attribute group changes (getAttrByMode boundary).
Version 1.0.0
Initial release.
Divi 5 module registered via divi_module_library_modules_dependency_tree.
Grid layout with the Media Library data source.
Responsive controls, Composer PSR-4 autoloader, language file scaffolding (/languages).