Yet another nice lightbox plugin
This package integrates the great
prettyphoto
jquery lightbox clone by Stephane Caron
prettyPhoto is a full blown media lightbox supporting images, videos, flash, YouTube, iframes and ajax.
It can be used as a drop-in replacement of
JQueryPlugin's version of slimbox, another lightbox clone, shipped with foswiki by default.
prettyPhoto has been integrated by means of minimal invasive markup, that is any DIV element with a class
jqPrettyPhoto
will be converted into a media lightbox automatically without any extra provisions, similar to the way slimbox is used. Additional parameter to the plugin itself can be passed using
JQueryMetadata.
Note that
Foswiki:Extensions/TopicInteractionPlugin as well as
Foswiki:Extensions/ImageGalleryPlugin
will automatically switch from slimbox to prettyPhoto for lightboxing.
Examples
( using
Foswiki:Extensions/ImagePlugin )
Installation Instructions
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See
http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Dependencies
Name | Version | Description |
---|
Foswiki::Plugins::JQueryPlugin | >=4.00 | Required. |
Foswiki::Plugins::ImagePlugin | >=2.40 | Recommended. |
Change History
23 Jan 2017: |
make sure the package is still release-able; deprecated jquery.metadata - use html5 data instead |
30 Sep 2011: |
upgrading to prettyPhoto 3.1.3; switching off overlay gallery by default for performance reasons |
06 Apr 2011: |
initial release |