The rel=”lighbox[ID-OF-THE-POST] “for WordPress is automatically added to pictures linked to a post ID-OF – THE-POST per post so that all pictures per post have been groupset in one lightbox package.
Works also with the WP 2.7 gallery and in comment Don’t include the files required for Lightbox (just add a rel lightbox tag)! Insert the files required for Lightbox 2 or Lightbox 3 plugins to your WordPress theme.
Changelog / Todo
* Optimizing the code
* Now Compatible with the Gallery Fonction of WP 2.7
* Adds also rel tag in the comments
* Correction of a bug that added rel tag on links done on img tags.
* Correction of a small bug described by Kristof Mattei. Thank you for your help.
We are grateful to everyone who submitted bug reports or ideas for improvement.
Send me a message if you forgot to include your name here.