Add Lightbox
Mdkart By Mdkart

August 23, 2011

Add Lightbox Plugin

This plugin for Wordpress automatically add the rel="lightbox[ID-OF-THE-POST]" to images linked in a post

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.

Installation

  1. Unzip the file
  2. Upload it in /wp-content/plugins/ of your WordPress installation
  3. Activate the Plugin
  4. That’s All

Details

  • Version: 0.4.1
  • Active installations: 600
  • WordPress Version: 1.5
  • Tested up to: 3.2.1

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars