Add Lightbox

by Mdkart

Overview


This plugin for WordPress automatically add the rel=”lightbox[ID-OF-THE-POST]” to images linked in a post
ID-OF-THE-POST is unique per post so all images per post are grouped in one lightbox set.
Works also with the gallery Fonction of WP 2.7 and in comments

Doesn’t add the the files required for Lightbox (it only add the rel lightbox tag)! You have to insert yourself in your theme the required files or use a plugin like Lightbox 2 WordPress Plugin or Lightbox 2.3 plugin for WordPress

Changelog / Todo

0.4.1
* Optimizing the code
0.4
* Now Compatible with the Gallery Fonction of WP 2.7
* Adds also rel tag in the comments
0.3
* Correction of a bug that added rel tag on links done on img tags.
0.2
* Correction of a small bug described by Kristof Mattei. Thanks to him for the help!

Thanks to all who sent bug reports and ideas for improvements.
Please send me a mail if I forgot you to mention here.

Discuss


Summary
Version:
0.4.1
Last updated:
Active installations:
WordPress Version:
1.5 or higher
Tested up to:
3.2.1
Ratings