Plugin Directory

WP jQuery Lightbox

A drop-in replacement for Lightbox 2 and similar plugins, shedding the bulk of Prototype and Scriptaculous. Improved for mobile devices.

This plugin lets you keep the awesome Lightbox 2-functionality, but sheds the bulk of the Prototype Framework and Scriptaculous Effects Library.

Warren Krewenki ported Lightbox to jQuery and this plugin is mostly a wrapper to his work: providing localization support, an admin panel for configuration, (optional) auto-boxing of your image links and support for WordPress galleries, including media library titles and captions.

This version is also adjusted for mobile devices;

  • Swipe gestures for flicking between images on touch devices
  • Improved scaling maximizes use of screen space
  • Live adjustment to the browser window and orientation of your phone

See the plugin in action here: http://game.hgo.se/blog/motion-capture/

You can browse images with your keyboard: Arrows, P(revious)/N(ext) and X/C/ESC for close.

If you value my plugins, there's several ways you can help me out;

Any help is greatly appreciated. Thanks!

//Ulf Benjaminsson

1.4.6 (2015-03-20)

  • "Download link" now correctly open a download dialogue instead of displaying the file
  • Title, caption and all control elements can now be turned on / off individually
  • Added support for custom style sheets (just copy original to your theme's style folder, and hack away)
  • Restructured the HTML slightly, making styling easier
  • Added specific CSS selectors for all elements
  • Fixed animation speed setting being ignored
  • Dropped quirks support for Internet Explorer 8
  • Removed help-text setting

1.4.5 (2013-06-09)

  • Fit to screen edge on low rez displays (<500px)
  • Added global setting to hide title & caption
  • Reduced the amount of code running for each image shown
  • Updated German translation (thanks Niko23)
  • Fix: swipe direction
  • Fix: slideshow now waits for images to display before starting timer.
  • Fix: support for latest jQuery
  • Fix: WordPress encoding wrong quote mark in captions, causing duplicate texts to display.

    1.4.1 (2013-02-03)

  • Added swipe gestures on touch devices
  • Added slideshow
  • Added support for multiple sets in one post (use: group with the gallery-shortcode)
  • Added support for arbitrary Download links via the data-download-attribute
  • Added support to pick text from the image ALT-attribute (if title is not available)
  • Added translations: Norwegian Bokmål (thanks Ole Martin Kristiansen!)
  • Fix regexp to deal with urls like http://www.gif.org. (Thanks Yannick Berker!)
  • Fix changed common IDs to avoid collisions. (you'll have to update your CSS now!) (Hat tip; Pollmann Frederic)
  • Fix better support of Infinite Scroll and similar
  • Fix toggling visible state on unrelated object, embed and select nodes. mwolfe02
  • Fix leaky CSS on admin page

Older changelogs moved here.

Requires: 3.9 or higher
Compatible up to: 4.1.1
Last Updated: 2015-3-21
Active Installs: 100,000+


4.2 out of 5 stars


6 of 7 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

1 person says it works.
0 people say it's broken.

88,8,7 100,1,1 100,2,2 88,8,7
100,1,1 75,4,3 0,1,0
50,2,1 50,8,4 67,6,4
83,6,5 100,3,3
100,3,3 100,2,2 100,1,1
100,2,2 100,2,2 93,14,13
88,8,7 100,1,1
71,7,5 100,1,1
100,2,2 100,1,1 67,9,6 80,5,4