Académique Documents
Professionnel Documents
Culture Documents
Contributors: dzappone
Donate link: http://www.23systems.net/plugins/donate/
Tags: lightbox, photo, photos, image, images, video, ajax, gallery, colorbox, li
ghtview, picture, overlay
Requires at least: 3.6
Tested up to: 4.4.1
Stable tag: 2.7.2
License: GPLv2 and (components under MIT License)
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Lightbox Plus Colorbox permits users to view larger versions of images, simple s
lide shows, videos and content all in an overlay.
== Description ==
Lightbox Plus Colorbox implements Colorbox as a lightbox image overlay tool for
WordPress. <a href="http://www.jacklmoore.com/colorbox">Colorbox</a> was create
d by Jack Moore and is licensed under the <a href="http://www.opensource.org/lic
enses/mit-license.php">MIT License</a>. Lightbox Plus Colorbox for WordPress im
plements Colorbox as a lightbox image overlay tool for WordPress. Colorbox was c
reated by Jack Moore and is licensed under the MIT License. Lightbox Plus Colorb
ox permits users to view larger versions of images without having to leave the c
urrent page. Lightbox is able to add a lightbox to WordPress gallery images, dis
play simple slide shows, video, forms and external content in overlays. The use
of the dark or light background, which dims the page over which the image has be
en overlaid, also serves to highlight the image or video being viewed. Lightbox
Plus Colorbox captures the image title for display in the overlay.
Lightbox Plus Colorbox uses WordPress' built in jQuery library. Lightbox Plus Co
lorbox also uses the <a href="http://simplehtmldom.sourceforge.net/" title="PHP
Simple HTML DOM Parser">PHP Simple HTML DOM Parser</a> helper class to navigate
page content for inserting the Lightbox attibutes into elements.
NOTE: Lightbox Plus Colorbox is undergoing a complete rewrite to improve perform
ance and bring it in line with the latest WordPress coding standard. This will
be release as with a new version matching the latest version of WordPress when r
eleased.
= Troubleshooting =
Please read the <a href="http://www.23systems.net/plugins/lightbox-plus/frequent
ly-asked-questions/">FAQ</a> first if you are having problems.
At present due to other commitments and that the plugin is provided freely we ca
n offer no support and it is provided as is.
You can get community support for Lightbox Plus Colorbox via the <a href="http:/
/wordpress.org/support/plugin/lightbox-plus" title="Lightbox Plus Colorbox Suppo
rt Forums">support forums</a>.
<strong>Please do not contact Jack Moore the author of Colorbox for issues with
Lightbox Plus Colorbox.</strong>
= Requirements =
Server
* WordPress 3.6+ (May word with earlier versions)
* PHP 5+ (Required)
= Caveats =
Flash (i.e. YouTube videos, etc.) will sit atop the Lightbox Plus Colorbox displ
ay no matter what the z-index is. This is an issue with Flash.
See <a href="http://go.adobe.com/kb/ts_tn_15523_en-us">Flash content displays on
top of all DHTML layers</a> at Adobe for details.
To work around this issue you will need to add something like the following to y
our <code><param /></code> and <code><embed></embed></code> ta
gs:
<code>
<object><param name="wmode" value="opaque" /><embed wmode
="opaque" [all other embed settings, file src etc.]></embed></object
>
</code>
== Frequently Asked Questions ==
= Lightbox Plus Colorbox doesn't work =
Well, yes, it probably does. It's used by thousands of websites and if it doesn
't work for you then it is likely because there is some problem with how it inte
racting with other JavaScript on your site.
The most common cause for it not working is a jQuery conflict cause by a theme o
r a plugin that either does not properly instantiate jQuery or instantiates a ve
ry old version of jQuery.
Here are things to try in order to see what the problem is.
1. Check jQuery version and make sure you are using the latest included in WordP
ress
* If it's an older version or not enqueued correctly it will cause problems
* It may be in your theme or another plugin
2. You may be lacking <code>wp_footer()</code> function in your <code>footer.php
</code> of your WordPress theme.
* Look at the default theme to see how it is implemented and add it into your t
heme.
3. Try deactivating all plugins one at a time besides lightbox plus and see if i
f it starts working
* If it does work after deactivating on then there's a plugin conflict
4. If deactivating plugins doesn't work then there might be a conflict with your
theme
* To isolate you can try an different theme and see if it works
5. Try changing to a different lightbox style/theme and see if that makes a diff
erence
* There may be a style conflict of some sort
6. Try deleting the plugin and reinstalling - it may have not completely updated
correctly.
* You'll have to reset your settings so you might want to write them down.
= It works for some images and not others, why not? =
The problem may be with your WordPress theme, mangling image display properties.
Try using another theme, that doesn't interfere with posted images.
It also seems that some more recent version of WordPress (or perhaps the plugin
is causing this in some way I am not aware of) do not automatically add the link
to the full size image. You must also make sure that when you are adding an im
age from the WordPress media dialog control you must make sure there is a link t
o the image in the Link URL field. The easiest way to get the correct link is t
o click on the link to image button beneath the field. <a href="http://www.23sy
stems.net/wp-content/uploads/2008/07/file.png">Visual depiction</a> of what is r
equired when adding images in order for lightbox to function correctly.
= Lightbox Plus Colorbox doesn't work properly in browser X, Y, or Z (Chrome, Sa
fari, Firefox, Opera, Explorer 6, 7, etc.)? =
Yes it probably does, the problems may be the same as above or there may be a co
nflict with another plugin or a style conflict. It has been tested in Chrome, I
E 7+, Firefox 2+, Chrome, Safari 3+, Opera 8+ since development began.
= Does Lightbox Plus Colorbox work with PHP 4? If not, why not? =
No it doesn't. PHP 4 reached end of life on August 8th 2008 (about 6 years ago.
) WordPress no longer supports PHP 4 and all plugin developers are encourage to
follow. The best solution at this time is to ask your host provider to upgrade
to PHP 5.
You will know that Lightbox Plus Colorbox is not working because of PHP if you r
eceive the following error:
<b>Plugin couldn't be activated because of fatal error</b>
<code>Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /path/to/plugin
/classes/filters.class.php on line 81</code>
= Can I use this plugin and Lightview Plus, Lightbox 2 (either one), jQuery Colo
rbox, WP lightbox JS Plugin, Fancybox etc at the same time? =
Maybe, but probably not as they will most likely interfere with each other as th
ey usually modify the image URLs. Other image overlay plugins may possibly be c
ompatible.
= Can I add my own styles and images for the overlay? =
Yes, you can easily create additional styles by checking the use custom styles c
heckbox. It will copy the existing styles to <code>wp-content/lbp-css</code> an
d you can modify any of the existing styles. You can all adding a new folder to
that directory and using the existing styles as examples create your completely
custom styles.
= How does Lightbox Plus Colorbox differ from other Lightbox plugins for WordPre
ss? =
Performance wise the Colorbox jQuery plugin is
has more options than most lightbox JavaScript
that handle the text are more robust handling
in addition it will also grab the image title
rlay image caption.
1.
2.
3.
4.
5.
6.
Lightbox
Lightbox
Lightbox
Lightbox
Lightbox
Lightbox
Plus
Plus
Plus
Plus
Plus
Plus
Colorbox
Colorbox
Colorbox
Colorbox
Colorbox
Colorbox
Image
Video
External Content
Inline Content (Form)
Options Page
Style Examples
== Change Log ==
= 2.7.2 =
* Validated against WordPress 4.2.x
* Fixed minified files not being minified
* Fixed initialization error where initial settings were not being set making pl
ugin seem to not work
* Minor bug fixes
=
*
*
*
*
2.7.1 =
Validated against WordPress 4.0-4.1.x
Fixed minified files not being minified
Temporary update prior to release of newly re-written version
NOTE: some issue still persist in this version most obvious among them:
* Initial settings not set up and must be manually entered and saved before plu
gin will display lightbox
=
*
*
*
2.7 =
Initial release of version 2.7
Validated against WordPress 3.9.x
Updated Colorbox to version 1.5.9 which includes the following fixes
* Fixed inline content bug when using child selectors. Fixes #599
* Fixed accidental leak of global variable. References #591
* Enabled strict mode. Fixes #597
* Fix potential error when calling Colorbox directly. References #591
* Potentially worked around browser limitation of reporting that an image heigh
t and width is 0 immediately after onload. Fixes #535
* Applied maxWidth and maxHeight to the initialWidth and initialHeight. Fixes
#391
* Allow setting the overlay opacity through CSS, rather than having to use Colo
rbox's opacity property. Fixes #580
* Fixed potential issue where IE9+ wouldn't close the modal when clicking on th
e overlay. Fixes #576
* Added access to settings object in callbacks.
* Added svg to image types regex.
* Fixed regression that broke direct calls to Colorbox, ie. $.colorbox( )
* Changed when the className is applied: immediately on open, but only updated
immediately prior to transition. Fixes #565
* Fixed potential style flash if #cboxLoadedContent is given a background. Fix
es #567
* Misc. code cleanup
* Fixed potential error when resizing. Fixes #254
* Added Microsoft's JPEG XR to photo detection regex.
* Fixed an issue where private events propagated to the document in versions of
jQuery prior to 1.7. Fixes #525, Fixes #526
* Updated stylesheets to avoid issue with using `div {max-width:100%}` (Fixes #
520)
* Used setAttribute to set londesc, so that the value is accessible via DOM Nod
e longDesc property #508
* Added longdesc and aria-describedby attributes to photos. Fixes #508
* Fixed a slideshow regression from 1.4.27
* Fixed a potential issue with the starting size of #cboxLoadedContent
* Fixed a potential issue with using the open property with mixed slideshow and
non-slideshow groups
* Fixed a width calculation issue relating to using margin:auto on #cboxLoadedC
ontent.
* Fixed a regression in IE7 and IE8 that was causing an error.
* Use an animation speed of zero between same-sized content (fixed).
* Removed temporary fix for jQuery UI 1.8
* Added closeButton option. Set to false to remove the close button.
* Bugfix loading overlay/graphic append order
* Updated manifest files for the jQuery plugin repository and Bower (no changes
to plugin)
* Replaced new Image() with document.createElement('img') to avoid a potential
bug in Chrome 27.
* Fixing bug/typo from last update.
* Fixed bug where Colorbox was capturing ctrl+click on assigned links on window
s browsers with jQuery 1.7+, rather than ignoring.
* Fixed a scroll position issue when using $.colorbox.resize()
* Possible fix for a Chrome 27 issue (https://github.com/jackmoore/colorbox/pul
l/438#issuecomment-18334804)
* Added trapFocus setting to allow disabling of focus trapping
* Added .webp to list of recognized image extensions
* Added fadeOut property to control the closing fadeOut speed.
* Removed longdesc attribute for now.
* Fixed an error involving IE7/IE8 and legacy versions of jQuery
* Fixed a potential conflict with Twitter Bootstrap default img styles.
* Added `type='button'` to buttons to prevent accidental form submission
* Added alt and longdesc attributes to photo content if they are present on the
calling element.
* Better 'old IE' feature detection that fixes an error with jQuery 2.0.0pre.
* Fixes bug introduced in previous version.
* Dropped IE6 support.
* Fixed other issues with $.colorbox.remove.
* Prevented an error if $.colorbox.remove is called during the transition.
* Minor change to work around a jQuery 1.4.2 bug for legacy users.
* Minor change to apply the close and className properties sooner.
* Fixed an issue with percent-based heights in iOS
* Fixed an issue with ajax requests being applied at the wrong time.
* Made image preloading aware of retina settings.
* Removed $.contains for compatibility with jQuery 1.3.x
* Ignored left and right arrow keypresses if combined with the alt key.
* Better accessibility:
* Replaced div controls with buttons
* Tabbed navigation confined to modal window
* Added aria role
* Updated manifest for plugins.jquery.com
* Added retina display properties: retinaImage, retinaUrl, retinaSuffix
* Fixed iframe scrolling on iOS devices.
* Update themes to work with correctly with Colorbox verison 1.5.9
* Added styles to clean up borders around buttons in the lightbox
= 2.6 =
* Added option to generate HTML5 valid code. Checkbox under Base Settings -> Ad
vanced.
* When checked will add data- instead if rel attributes.
* Can specify specify data- attribute so it can be site specific
* Does not effect inline lightboxes which were class based already
* Option located in first tab (General) of base settings
* Fixed (hopefully) all unset variable notices
* Please notify me if you still seem them
* Fixed issues with per page loading
* Please note there is no per post loading - it's either set for your blog/sing
* Updated instructions
* Miscellaneous minor bug fixes
= 2.5.2 =
* Updated PHP Simple HTML DOM Parser to very latest rev (v 1.5 rev 202)
* Fixed PHP Simple HTML DOM Parser to create exception for servers that don't ha
ve mbstring extension enabled
* This regressed with an update to recent versions of PHP Simple HTML DOM Parse
r
* Added support for up to 1000 inline lightboxes
* Inline lightboxes are allocated in increments of 5
* There is a performance hit in the Lightbox Plus admin when going over 100 how
ever.
= 2.5.1 =
* Fixed PHP Simple HTML DOM Parser functions that were throwing errors when usin
g other plugins using PHP Simple HTML DOM Parser.
= 2.5 =
* Added positioning options
* Absolute top, right, bottom, left positioning. Now able to specify horizonta
l and vertical position in viewport as opposed to center only.
* Fixed positioning that allows lightbox stays on page when scrolled.
* Rebuilt interface
* Changed interface to a combination of collapsible and tabbed to make it more
concise and usable
* Separate settings into logical groups within tabs
* Added enhanced instructions and details of usage.
* Improved and updated demos and tests.
* Page/Post Options
* Auto launch on page. If auto-launch is set Lightbox Plus will automatically
open the first lightboxed item on the page.
* Per page loading. If per page options are set Lightbox JavaScript will only l
oad for specified pages.
* Blog/posts only loading. if per page options are set Lightbox JavaScript will
only load for specified pages.
* Image grouping
* Added more control over image grouping
* Fixed image X of X problem, can disable Image X of X
* Scrolling - If 'false' Colorbox will hide scrollbars for overflowing content.
This could be used on conjunction with the resize method (see below) for a smoot
her transition if you are appending content to an already open instance of Color
box.
* Numerous bug fixes
* Fixed use WP Caption option. Works with singles images and WordPress built i
n galleries now.
* Fixed text links getting lightboxed even of option is not set.
* Fixed many small issues and text errors.
* Added class check for php html dom classes to prevent stomping on other plugin
s using the class.
* Updated Colorbox to version 1.3.20
* Added temporary workaround for jQuery-UI 1.8 bug (http://bugs.jquery.com/tick
et/12273)
* Added *.jpe extension to the list of image types.
= 2.4.6 =
* Fixed PHP 5 comment bug that got reintroduced into plugin
= 2.4.5 =
* Updated compatibility with WordPress 3.3
=
*
*
*
*
*
2.3 =
Tested with WordPress 3.2.x
Minor bug fixes
Some minor text fixes
Added option to allow up to 100 inline lightboxes
Updated Colorbox to version 1.3.17
* Added properties "top", "bottom", "left" and "right" to specify a position re
lative to the viewport, rather than using the default centering.
* Added property "data" to specify GET or POST data when using Ajax. Colorbox'
s ajax functionality is handled by jQuery's .load() method, so the data property
works the same way as it does with .load().
* Added property "fixed" which can provide fixed positioning for Colorbox, rath
er than absolute positioning. This will allow Colorbox to remain in a fixed pos
ition within the visitors viewport, despite scrolling. IE6 support for this was
not added, it will continue to use the default absolute positioning.
* Fixed ClearType problem with IE7.
* Minor fixes.
* Updated Colorbox to version 1.3.16
* Better IE related transparency workarounds. IE7 and up now uses the same bac
kground image sprite as other browsers.
* Added error handling for broken image links. A message will be displayed tell
ing the user that the image could not be loaded.
* Added new property: 'fastIframe' and set it to true by default. Setting to f
astIframe:false will delay the loading graphic removal and onComplete event unti
l iframe has completely loaded.
* Ability to redefine $.colorbox.close (or prev, or next) at any time.
= 2.2.2 =
* Corrected load_plugin_textdomain function calls, had incorrect number of argum
ents - Thanks Johannes!
* Minor interface corrections
= 2.2.1 =
* Require HTML Parser only for PHP 5.X. Was causing errors with PHP 4.X.
* Updated Colorbox to version 1.3.15
* In IE6, closing an iframe when using HTTPS no longer generates a security war
ning.
* Changed the index.html example files to use YouTube's new embedded link forma
t.
* By default, Colorbox returns focus to the element it was launched from once i
t closes. This can now be disabled by setting the 'returnFocus' property to fal
se. Focus was causing problems for some users who had their anchor elements ins
ide animated containers.
* Minor bug fix involved in using a combination of slideshow and non-slideshow
content.
* Minor bug fix involved in preloading images when using a function as a value
for the href property.
* The slideshow now respects the loop property.
* Fixed compatibility with jQuery 1.4.3
* The 'open' property now accepts a function as a value, like all of the other
properties.
* Preloading now loads the correct href for images when using a dynamic (functi
on) value for the href property.
* Fixed bug in Safari 3 for Win where Colorbox centered on the document, rather
than the visitor's viewport.
* May have fixed an issue in Opera 10.6+ where Colorbox would rarely/randomly f
reeze up while switching between photos in a group.
* Some functionality better encapsulated & minor performance improvements.
= 2.2 =
* Fixed "Object id #", "Object", "Object #" errors with PHP 5.1.x.
* Problem was due to circular memory leak in PHP 5.1 and 5.2 and HTML DOM objec
t not being cleaned up.
* Altered way the content is returned to allow for closure and cleaning of obje
ct sooner eliminating memory leak.
* Due to overwhelming demand I added PHP 4 functionality back in but it is not o
fficially supported.
* If you were seeing an error that looked something like `Parse error: syntax e
rror, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}
' in /path/to/plugins/lightbox-plus/classes/shd.class.php on line 86` you have P
HP 4.
* Option is automatically set to use legacy method if you have PHP 4
* You will have to manually select the option to use the <em>PHP 4 Auto Lightbo
x Method</em> if you are using PHP 5.X and wish to use legacy method.
* Fix for images with upper case file extension not being auto-lightboxed.
* Probable fix for `XML Parsing Error: no element found` likely caused by memory
leak
* Unable to reproduce error but research indicates memory leak is a likely caus
e.
= 2.1 =
* Now requires PHP 5+, no PHP 4 support.
* PHP4 reached its end of life on 8/8/2008 nearly 2 years ago.
* Fixed problems with initialization and re-initialization of the plugin not wor
king under various circumstances.
* Add code for activation/deactivation of the plugin
* Added true HTML parser instead of regular expressions
* Using <a href="http://simplehtmldom.sourceforge.net/">PHP Simple HTML DOM Par
ser</a> for parsing HTML
* Should mitigate issues of not consuming the HTML content and correctly modify
ing it
* Change method for finding and selecting styles
* Added option for stylesheet directory to reside outside of plugin directory
* Lightbox Plus no longer stores stylesheet path in options, it is now pulled f
rom global definitions
* It should now be easier to use on multiple servers with different paths.
* Added support for multiple galleries on a single page displaying separate slid
e shows
* Updated Colorbox to version 1.3.9
* Fixed a bug in IE where iframed YouTube videos were not opening correctly.
= 2.0.5 =
* Rewrote the way the plugin is instantiated.
* Provide better control over how actions and filters are added by Lightbox Plu
s.
* Provides fix for jQuery UI styles loading on all admin panels.
* Prevented jquery.colorbox.min.js from loading on admin panels other than Ligh
tbox Plus.
* Rewrote several functions to provide better compatibility with other plugins.
* Admin scripts are now enqueued correctly.
* Admin and plugin styles are now enqueued correctly.
* Fixed slideshow always auto-starting if slideshow enabled.
* Changed several variables and related fields
* <em>Do Not Auto-Lightbox Images</em> using `auto_lightbox` to `no_auto_lightb
ox` to accurately reflect its use.
* <em>Do Not Display Image Title</em> using `display_titles` to `no_display_tit
les` to accurately reflect its use.
* <em>Use Class Method using</em> `class_method` to `use_class_method` to accur
ately reflect it's use.
* If you use any of these settings you will need to re-check them and save your
settings.
* Reduced size of inline JavaScript and converted all to jQuery.
* Reduced size of some scripts using old toggle method for help.
= 2.0.2 =
* Add quick fix/hack for a big interface issue on the admin panel. See roadmap f
or long term solution.
* jQuery UI themes were overloading other plugins that were using the jQuery UI
* Lightbox Plus specific themes and scripts should only load on Lightbox Plus p
anel
* The exception is colorbox.min.js will load in any admin panel due to the way
it is initialized. Expect version 2.0.5 to address this.
= 2.0.1 =
* Fixed several interface issues in the admin panel.
* User feedback was not reporting updates because admin scripts were not loadin
g properly - this has been fixed.
= 2.0 =
* Added secondary lightbox option
* There is no auto-lightboxing for the secondary lightbox
* Allows the creation of a secondary lightbox with iframe capabilities
* Allows lightboxing of video, flash, and content that resides elsewhere
* Added inline lightbox options
* There is no auto-lightboxing for the inline lightbox
* Can have multiple inline lightboxes (up to 20)
* Can be used to display hidden inline content, forms and more...
* Improved interface in admin panel.
* Added better feedback for users
* Added backend test/demo areas
* Allows user to test lightbox settings in the admin panel
* Provides demos and examples for secondary lightbox using video, external webp
ages and interactive flash
* Provides demos and examples for inline lightbox using inline content
* Fixed issue with saving setting and changes not being reflected.
* Updated Colorbox to version 1.3.8
* Fixed a bug in Chrome where it would sometimes render photos at 0 by 0 width
and height (behavior introduced in recent update to Chrome).
* Fixed a bug where the onClosed callback would fire twice (only affected 1.3.7
).
* Fixed a bug in IE7 that existed with some iframed websites that use JS to rep
osition the viewport caused Colorbox to move out of position.
* Abstracted the identifiers (HTML ids & classes, and JS plugin name, method, a
nd events) so that the plugin can be easily rebranded.
* Small changes to improve either code readability or compression.
= 1.7 =
* Updated Colorbox to version 1.3.7
* $.colorbox can now be used for direct calls and accessing public methods. Ex
ample: $.colorbox.close();
* Resize now accepts 'width', 'innerWidth', 'height' and 'innerHeight'. Example
: $.colorbox.resize({width:"100%"})
* Added option (loop:false) to disable looping in a group.
* Added options (escKey:false, arrowKey:false) to disable esc-key and arrow-key
bindings.
* Added method for removing Colorbox from a document: $.colorbox.remove();
* Fixed a bug where iframed URLs would be truncated if they contained an unenco
ded apostrophe.
* Now uses the exact href specified on an anchor, rather than the version retur
ned by 'this.href'. This was causing "#example" to be normalized to "http://doma
in/#example" which interfered with how some users were setting up links to inlin
e content.
= 1.6.9.7 =
* Fixed auto-lightbox breaking links that contained manually created `rel="light
box[]"` attributes.
=
*
h
*
1.6.9.6 =
Skipping of auto-lightboxing of second image when image links were next to eac
other in html source should be fixed. At least in my testing.
Fixed do not display image titles to work with text links.
* Note - must already not have title tag in links elements.
* Fixed ability to use class method in text only links and gallery.
* Added ability to specify the class name used with class method. Defaults to c
boxModal for the class.
* Changed jQuery implementation of colorbox on the page to both reduce size and
prepare for allowing two different colorboxes. (See Road Map)
= 1.6.9.5 =
* No really, the IE problems should be resolved.
* Correctly handle new settings when empty to render correct JavaScript on outp
ut - was causing IE to not display lightbox and weird sliding effect on lightbox
in all browsers.
* Fixed invalid function call that would prevent older versions of IE (7 or les
s) from rendering lightbox at all.
* Fixed issue that if admin was being accessed via SSL you could not save settin
gs.
* Fixed some skipping of images being auto-lightboxed. May not resolve all issu
es - please let me know at <href="http://www.23systems.net/bbpress/forum/lightbo
x-plus">Lightbox Plus Support</a>.
= 1.6.9 =
* Fixed problem with styles in IE 6/7/8 not working under various circumstances
(hopefully)
* Added the option to disable Lightbox Plus from adding its own styles allowing
the user to place Lightbox/Colorbox styles in their theme stylesheet and reduce
number of files loading.
= 1.6.8 =
* Fixed duplicate `rel=lightbox[]` tags being generated.
* Fixed IE 6 specific stylesheets - should provide correct headers for php based
css documents.
* AlphaImageLoader should automatically be configure for old versions of IE - 6
or less
* As of this version IE 6 or less are no longer supported.
* If you are using IE 6 or less it is recommended that you upgrade your browser
.
* Added option to auto-lightbox text links to images
* Added additional width and height options
* width - can set a fixed total width. This includes borders and buttons.
* height
- can
set a fixed total height. This includes borders and button
s.
* innerWidth - This is an alternative to 'width' used to set a fixed inner widt
h. This excludes borders and buttons.
* innerHeight - This is an alternative to 'height' used to set a fixed inner he
ight. This excludes borders and buttons.
* initialWidth
- can set the initial width, prior to any content being loade
d.
* initialHeight - can set the initial height, prior to any content being loaded
.
= 1.6.3 =
* Eliminated conflict with Featured Content plug-in
* Removed `jQuery.noConflict()` due to poor implementation on my part.
* Kept `$lbp` jQuery variable.
* jQuery conflicts should all be resolved - hopefully.
* Minor modification to `wp_enqueue_script` function cal to include colorbox ver
sion.
* Now works with WordPress Mu if `rel=lightbox[]` is added manually.
* Working on solving auto lightboxing issues with WordPress Mu
= 1.6.2 =
* Added `jQuery.noConflict()` to the initiator to hopefully eliminate issues wit
h other jQuery libraries loading and causing conflicts.
* Changed jQuery `$` variable to `$lbp` to give a unique constructor.
* Added replacement shortcode gallery method to allow Lightbox Plus to work with
shortcode galleries called via the `echo do_shortcode('[gallery link="file" siz
e="thumbnail"]');` method in templates.
* Replacement shortcode gallery function automatically adds `rel="lightbox"` or
`class="cboxModal"` as selected in options.
* Added code to automatically cleanup doubled title tags from shortcode gallerie
s.
* Added quick links to the plugin listing on the plugin page.
* Some minor UI tweaks to the admin page.
= 1.6.1 =
* Fixed IE display issues for elegant and shadowed themes.
* Should now correctly grab path to images for IE 6/7/8
* Re-added additional simple styles blue, green, grey, purple, red, teal, yellow
in addition to black and white
* Fixed prev/next buttons in simple styles to only display when cursor hovers
over left or right of image.
= 1.6 =
* Added the much requested feature for Lightbox Plus to work with WordPress' bui
lt in gallery
* Added checkbox to select whether to use with WP built in gallery.
* Updated Lightbox Plus to use new version of Colorbox
* Updated Colorbox to version 1.3.1 with the following changes
* Removed the IE-only stylesheets and conditional comments. All CSS is handle
d by a single CSS file for all examples.
* Removed user-agent sniffing from the js and replaced it with feature detecti
on. This will allow correct rendering for visitors masking their agent type.
* Added `$.fn.colorbox.resize()` method to allow Colorbox to resize it's heigh
t if it's contents change.
* Added `scrollbars` option to allow users to turn off scrollbars when using t
he `resize()` method.
* Renamed the `resize` option to be less ambiguous. It's now `scalePhotos`.
* Renamed the `cbox_close` event to be less ambiguous. It's now `cbox_cleanup
`. It is the first thing to happen in the close method while the 'cbox_closed'
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 formatting 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
== Upgrade Notice ==
= 2.4.6 =
* Upgrade recommended because inserted comment could cause visual issues with yo
ur pages
== Special Thanks ==
* Dirk Schmitz (for pointing out an obvious bug that I kept overlooking)
* <a href="http://www.hightechdad.com/">Michael Sheehan</a> and <a href="http://