Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

lightbox2

> 编程语言
Open source

THE original Lightbox script (v2).

6.4K stars0 likes1 views
WebsiteGitHub

About

THE original Lightbox script (v2).

Lightbox2

Lightbox3 is here — Zero dependencies. Fluid animations. Built for touch. Check it out →

Lightbox2 is in maintenance mode.

Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.

  • Demos and usage instructions. Visit the Lightbox homepage to see examples, info on getting started, script options, how to get help, and more.
  • Releases and Changelog. Viewable on the Github Releases page
  • Roadmap. View the Roadmap for a peek at what is being planned for future releases.
  • License. Lightbox is licensed under the MIT License. Learn more about the license.

by Lokesh Dhakar


Info for Maintainers

  • Issues and PRs requiring review. See items tagged with [status] needs review
  • Questions on Stackoverflow. See Questions tagged with lightbox2.
  • Release instructions. See DEPLOY.md.

Local development

  • Install dependencies: npm install
  • Run linting: npm test
  • Build: npm run build
  • Start a local server (e.g. npx serve .) and navigate to /examples/index.html

Issues· 50 open

View all issuesOpen on GitHub
  • #776

    Missing files/links - add code please

    Updated Jun 17, 2026
  • #775

    Add fullscreen button

    Updated Apr 17, 2026
  • #774

    Why are there four requests when I click on an image?

    Updated Mar 3, 2026
  • #641

    Responsive lightbox2

    [type] feature[status] queued for v3Updated Feb 28, 2026
  • #772

    Firefox- kein Bildwechsel mit der linken navigationstaste

    Updated Feb 1, 2026
  • #770

    Taking too long to load the image.

    Updated Dec 3, 2025
  • #768

    No means of setting timeout for long-running image load

    Updated Sep 15, 2025
  • #751

    Replace data embed image with local file

    [type] bug[status] ready for workUpdated Aug 6, 2025
  • #766

    Global variable lightbox should be lightbox2 or something less generic

    Updated Jul 18, 2025
  • #765

    Next & Prev Buttons missing on first image and elsewhere

    Updated Jun 22, 2025

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 24, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言