sachinchoolur/lightgallery.js

Full featured JavaScript image & video gallery. No dependencies

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 34 minutes ago
Added to GitGenius on September 12th, 2026
Created on August 1st, 2016
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Enabled
Number of forks: 578
Total Stargazers: 5,319 (+0)
Total Subscribers: 106 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • v1 (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

lightgallery.js is a JavaScript image and video gallery with no dependencies.

The tool solves the problem of displaying images and videos in an interactive lightbox interface without requiring external libraries. It works by providing a modular architecture where core functionality handles responsive gallery display, touch and mouse interactions, and keyboard navigation, while optional plugins extend capabilities for video platforms, social sharing, and additional effects. The gallery supports inline content, dynamically added slides, and hardware-accelerated CSS3 transitions for smooth animations across devices.

Developers should choose this tool if they need a lightweight gallery solution without jQuery or other framework dependencies. It suits projects ranging from simple image galleries to complex multimedia presentations that include YouTube, Vimeo, and HTML5 video content. The tool offers particular value for mobile-first projects through its touch support, pinch-to-zoom, swipe-to-close gestures, and optimized performance on mobile devices. It also handles next-generation image formats like WebP and JPEG XL.

The project underwent a significant architectural transition, being rewritten from scratch in TypeScript and merged with a related codebase to consolidate maintenance. Development shifted away from supporting older browsers, dropping Internet Explorer 8 and 9 compatibility. The modular plugin system was restructured so plugins must be passed via settings rather than polluting the global scope, and the API was redesigned with renamed events and modified method signatures, though the upgrade path attempted to maintain structural familiarity for existing users.