This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Add Any Lightbox


Inspired by the Add Lightbox plugin, this plugin allows you to add any custom attribute (usually a rel or class) to linked images in
pages, posts and comments, image formats supported are bmp, gif, jpeg, jpg and png. This can then be used with any of the popular
lightbox plugins.

This does not include Javascript files for any lightbox plugins, these should be included yourself via your theme.

You can group images for each post by adding [id] into your rel or class and you can also add a custom attribute to
linked Flash files (swf and flv).

Any problems please get in touch


  1. Unzip the archive and upload the folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Add Any Lightbox’ in the settings menu
  4. Add your custom attributes for images and flash files (both optional) and click save
  5. For grouping use [id] for example rel="lightbox[id]"

Contributors & Developers

“Add Any Lightbox” is open source software. The following people have contributed to this plugin.


Translate “Add Any Lightbox” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.