Web-Thread Lightbox, a vanilla JavaScript library for adding image galleries to your website with zero dependencies.
Key features:
- Pure JavaScript with no jQuery requirement
- Responsive design with touch and mouse support
- Keyboard navigation and swipe gestures
- Automatic gallery grouping through CSS classes
- Dynamic HTML injection only when needed
The implementation uses just two CSS classes—one for the gallery container and one for each thumbnail wrapper.
The script handles everything from navigation to caption display automatically.
Top comments (0)