overlayshwcz-lightbox

Lightbox

Media viewer overlay for images, videos, YouTube/Vimeo embeds, and iframes, collected from links, with zoom, swipe, captions, and dot/thumb navigation.

Notes

  • Items are collected from the target matches: href (or data-source) plus optional data-type, data-caption, data-alt, data-poster, data-thumb, data-srcset, data-sizes.
  • YouTube/Vimeo URLs are converted to privacy-friendly embed URLs; unknown URLs fall back to iframe.
  • The viewer defaults to inline + unmount: it renders in a portal and tears down after closing.
  • Zoom applies to loaded images; swipe and arrow navigation wrap unless finite is set.