Obsidium: A vanilla JavaScript lightbox that handles image galleries without dependencies.
Key features:
β¨ Smooth transitions and multiple animation effects
π Variable zoom with drag-to-pan functionality
π± Full touch support and swipe gestures
β¨οΈ Complete keyboard navigation
πΌοΈ Thumbnail strip with customizable sizing
π Optional EXIF metadata display
π¨ Light and dark themes included
Works with standard image elements or custom HTML nodes.
You can trigger it programmatically or attach it to existing galleries.
The API gives you control over preloading, zoom levels, and interface elements.
Zero external dependencies. Just drop in the CSS and JS files.
π Blog Post
π GitHub Repo
π Live Demo
Top comments (0)