DEV Community

Cover image for Obsidium: Vanilla JavaScript Lightbox Gallery with Zero Dependencies
jQueryScript
jQueryScript

Posted on

Obsidium: Vanilla JavaScript Lightbox Gallery with Zero Dependencies

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)