Neiki's Gallery is a lightweight, production-ready image gallery and lightbox library built with vanilla JavaScript and CSS. It requires no dependencies and can be integrated with a single <script> tag, with automatic initialization out of the box.
It provides a highly customizable experience for modern web projects, combining performance, flexibility, and rich UI interactions. Designed for both developers and end users, it supports responsive layouts, advanced lightbox features, touch and keyboard navigation, lazy loading, and seamless media handling including images and video.
The library is modular and extensible, offering plugins, event hooks, and deep customization through JavaScript or HTML data attributes. It is optimized for performance, accessibility, and large-scale galleries while maintaining smooth animations and a modern visual style.
Features
- ๐ก Vanilla JavaScript (zero dependencies) โ pure implementation, no frameworks required
- โก High performance & lightweight โ optimized for smooth rendering even with large galleries
- ๐ฑ Fully responsive design โ works perfectly on mobile, tablet, and desktop
- ๐ผ๏ธ Multiple layouts โ Masonry, Grid, Mosaic, and Filmstrip views
- ๐ Advanced lightbox system โ zoom, pan, fullscreen, and smooth transitions
- ๐๏ธ Slideshow / autoplay โ configurable automatic playback with controls
- ๐ง Smart lazy loading โ images load on demand using IntersectionObserver
- ๐ท๏ธ Tag filtering โ dynamic filtering based on image metadata tags
- ๐ฆ Batch selection โ multi-select items using Shift + click
- ๐ฒ Touch & swipe support โ full gesture support for mobile devices
- โจ๏ธ Keyboard navigation โ arrows, ESC, spacebar, and shortcuts support
- ๐ Deep linking (URL hash) โ direct linking to specific images
- ๐ Dark & light themes โ automatic system detection or manual switching
- ๐งฉ Plugin architecture โ extend functionality with custom plugins
- ๐ค Share & download tools โ native sharing and download options
- ๐งฒ Drag & drop reordering โ intuitive image rearrangement
- ๐งพ EXIF metadata support โ camera data display (ISO, aperture, etc.)
- ๐จ Color palette extraction โ automatic dominant color analysis
- ๐๏ธ Built-in image editor โ crop, rotate, flip, and export tools
- ๐ฅ๏ธ Picture-in-Picture mode โ compact floating viewer
- ๐งญ Story mode viewer โ Instagram-style vertical navigation
- ๐ Virtual scrolling โ optimized rendering for large datasets
- ๐ Favorites system โ save images locally in the browser
- ๐ฌ Video support โ MP4, YouTube, and Vimeo integration
- ๐งฑ Infinite scroll support โ dynamic loading of additional content
- ๐ง Blurhash placeholders โ instant low-quality previews
- ๐ Smart focus cropping โ focus-point based image positioning
- ๐ฏ FLIP animations โ smooth thumbnail-to-lightbox transitions
- ๐ฆ Album grouping โ connect multiple galleries together
- โ๏ธ Highly customizable API โ full control via JS and data attributes