A zero-dependency vanilla JavaScript image gallery & lightbox. Drop two files, get a beautiful gallery.
Uses data-neiki-gallery for zero-JS initialization. Masonry layout with dark theme, fade transition.
Mosaic layout with data-size tiles and automatic tag filtering from data-tags.
Horizontal scrollable filmstrip with scroll snap. Light theme with slide transition.
Before/after image comparison using NeikiGallery.compare(). Drag the handle to compare.
Initialized via new NeikiGallery() with slideshow, batch select, and contextual zoom. Use buttons to control.
Gallery with story mode (Instagram-like vertical viewer) and PiP (minimize lightbox to corner). Click the phone/PiP icons in the toolbar.
Drag items to reorder them. Uses native HTML5 drag & drop. Get order via gallery.getOrder().
Images with data-focus="x y" for smart cropping and data-width/data-height for skeleton aspect ratio.
Mix images with MP4 video files and YouTube/Vimeo embeds in a single gallery. Auto-detected from URL.
Heart icon to favorite (saved in localStorage), I for info sidebar, B to bookmark, P to print, ? for shortcuts help.
Open lightbox and use the toolbar's edit (✎) button to rotate/flip, or annotate (✍) to draw on the image. Export as PNG.
Two galleries below share data-group="vacation". Open either and use arrows to navigate seamlessly across both. Counter shows total group position.