27 Jan 2006

WP lightbox Plus WordPress plugin

Download

I’ve been receiving a lot of email requesting to make Lightbox Plus into a WordPress plugin. It’s fairly an easy job since I recycled the plugin code from my previous WP Lightbox JS plugin.

So after receiving permission to make Lightbox Plus into a WordPress plugin from its author Takuya Otani, I start downloading and replacing the files. It only took less than 10 minutes to test and packed it up into a zip archive.

What is Lighbox Plus?

Lightbox JS is very cool and useful script to display an image on the page.

However only the part of the image is displayed when the image size is larger than the window size. So I’ve created a script based on Lightbox JS.

For demonstration and sample please look over at the Lightbox Plus author website.

How to use it?

Lighbox Plus can be used in much the same way as Lightbox JS. In other words, you can follow the same “Installation” and “How to use” instruction from WP Lighbox JS plugin except you have to download different file. And please deactivate WP Lightbox JS plugin before using WP Lighbox Plus to avoid conflict.

Additional notes

  • If you want the loading image to be centered rather than at the right edge of the window, open lightbox.css.php and change the following:
    #overlay {
    text-align: left;
    background-image: url("<?php bloginfo('wpurl');
    ?>/wp-content/plugins/wp-lightbox-plus/images/overlay.png");
    }
    

Enjoy!!