Lightbox (JavaScript)

Lightbox is a JavaScript library that displays images and videos by filling the screen, and dimming out the rest of the web page.

[1] The original JavaScript library was written by Lokesh Dhakar.

[2] The term Lightbox may also refer to other similar JavaScript libraries.

The technique gained widespread popularity due to its simple and elegant style.

[5] The open-source nature of Lightbox encouraged developers to modify and fork the code, resulting in plugins such as Colorbox, Magnific Popup, Slimbox or Thickbox.

A typical lightbox image display