T11g Gallery Smoke Test
Rendering verification for T11g. The gallery shortcode itself only emits a placeholder div; the
shortcode_gallerypartial fetches the JSON at runtime, hands it to justifiedGallery for layout, and to lightGallery for the overlay. Fixture:/data/smoke/gallery.json— three placehold.co images.
1. A single gallery
Self-check list
- Browser Network panel:
/data/smoke/gallery.jsonreturns 200 - CDN injection: jQuery / justifiedGallery / lightGallery (+ thumbnail / zoom plugins) all load
- DOM:
#gallery-1is replaced at runtime with three<a><img></a>items, laid out on one row by justifiedGallery - Clicking any thumbnail opens the lightGallery overlay with arrow navigation across all three images
- The overlay caption shows the
subHtmlblock (“Smoke fixture #1/2/3”) - Background and controls are readable in dark mode
- No
lightGallery/justifiedGalleryerrors in the console