=== Lightbox Plus ===
Contributors: dzappone
Donate link: http://www.23systems.net/donate/
Tags: lightbox, images, photo, image, ajax, picture, gallery, automatic, colorbox
Requires at least: 2.5
Tested up to: 2.8
Stable tag: 1.5
Lightbox Plus permits users to view larger versions of images without having to leave the current page, and is also able to display simple slide shows.
== Description ==
Lightbox Plus implements ColorBox as a lightbox image overlay tool for WordPress. ColorBox was created by Jack Moore of Color Powered and is licensed under the MIT License. Lightbox Plus permits users to view larger versions of images without having to leave the current page, and is also able to display simple slide shows. The use of the dark or light background, which dims the page over which the image has been overlaid, also serves to highlight the image being viewed. Lightbox Plus captures the image title for display in the overlay.
Lightbox Plus uses WordPress's built in jQuery library.
= IMPORTANT 1.5 UPGRADE INFORMATION =
See the change log for information regarding this upgrading to version 1.5 of Lightbox Plus. There are significant differences from previous versions.
= Usage =
Note that getting the caption to appear in the overlay image by using the caption options built into WordPress Lightbox Plus uses the image title which is generated by "Edit Image Title" field and not the "Edit Caption Field." You can also manually add lightbox tags to your images using the following instructions.
1. Add a rel="lightbox" attribute to any link tag to activate the lightbox. For example:
image #1
Optional: Use the title attribute if you want to show a caption.
2. If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example:
image #1
image #2
image #3
== Installation ==
1. Extract lightbox-plus.zip to your `wp-content/plugins` directory.
2. In the admin panel under plugins activate Lightbox Plus.
3. In the admin panel under Design/Appearance click on Lightbox Plus to configure to your taste.
4. It should now be completely set up and functional
= Caveats =
Flash (i.e. YouTube videos, etc.) will sit atop the Lightbox Plus display not matter what the z-index is. This is an issue with Flash.
See Flash content displays on top of all DHTML layers at Adobe for details.
To work around this issue you will need to add something like the following to your <param /> and <embed></embed> tags:
<object><param name="wmode" value="opaque" /><embed wmode="opaque" [all other embed settings, file src etc.]></embed></object>
== Screenshots ==
1. Lightbox Plus
== Frequently Asked Questions ==
= Can I use this plugin and Lightview Plus, Lightbox 2 (either one), WP lightbox JS Plugin at the same time? =
Probably not, they they will most likely interfere with each other as they all modify the image URLs.
= Can I add my own styles and images for the overlay? =
Yes, you can easily create additional styles by adding a new folder to the css directory under wp-content/plugins/lighbox-plus/css/ by duplicating and modifying any of the existing theme folders or using them as examples to create your own.
= How does Lightbox Plus differ from other Lightbox plugins for WordPress? =
Performance wise the ColorBox jQuery plugin is smaller and generally faster then most lightbox JavaScript plugins. The regular expressions that handle the text are more robust handling a wider variety of characters and in addtion it will also grab the image title from the image to use for the overlay image caption.
== Change Log ==
= 1.5 =
* Rebuilt Lightbox Plus to utilize ColorBox for it's image overlay functions
* Supports photos, photo groups, slideshow, ajax, inline, and iframed content.
* Appearance is completely controlled through CSS so users can restyle the box.
* Written in jQuery plugin format and can be chained with other jQuery commands.
* Generates W3C valid XHTML and CSS, adds no JS global variables & passes JSLint.
* README! - If you are upgrading from a previous version you will need to reset your Lightbox Plus settings as they have all changed and the old values are no longer useful.
* README! - There is a reset button that will remove your old options and replace them with the new options, Lightbox Plus will act funny until you either reset it or update the settings.
* README! - If you have custom styles back them up before proceeding. You will need to convert them to the new directory and ColorBox format to use them again.
* README! - Only the black and white existing styles have been ported to the new format, it is very easy to convert any of the other color styles to the new format.
* Added reset button to allow for resetting to defualt settings.
* Tested In: Firefox 2, 3, Safari 3, 4, Opera 9, 10, Chrome 1, 2, Internet Explorer 6, 7, 8.
= 1.4 =
* There is no version 1.4
= 1.3.4 =
* Updated to work with WordPress 2.8
= 1.3.3 =
* Fixed another problem with JavaScript error causing script not to work correctly.
= 1.3.2 =
* Fixed problem with JavaScript error on IE7.
* Added some additional color styles.
= 1.3.1 =
* Updated lightbox.js to allow better control from the admin panel - lightbox was failing sometimes due to duplicate javascript.
= 1.3.0 =
* Added ability to configure Lightbox options from the admin panel
* Initializes base options on load
* Modified and rewrote code for better readability and functionality
= 1.1.1 =
* Moved admin panel under Design/Appearance
* Minor code formating for better readability
= 1.1.0 =
* Fixed absolute pathing - should now work in blog residing in subdirectories
* Rolled code into class structure
= 1.0.1 =
* Modifications to regular expression usage for image linking
= 1.0 =
* Initial release
== Road Map ==
1. Add enhanced features for use with NextGEN Gallery and WordPress built in gallery.
2. Solicit and implement language translations
== Special Thanks ==
Dirk Schmitz (for pointing out an obvious bug that I kept overlooking), Ken Williams (for testing version 1.5), Melanie Sallis for needing a lightbox for her site which prompted me to create this plugin, Jack Moore for creating the awesome jQuery plugin, ColorBox, and everyone who has contributed to the support in developing this plugin.