overlayshwc
z-lightboxLightbox
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
targetmatches: href (ordata-source) plus optionaldata-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
finiteis set.