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)