====== Lightbox ====== ---- plugin ---- description: Integrate jquery-lightbox for all images (previous authors: ogeidix) author : Elan Ruusamäe email : glen@pld-linux.org type : helper lastupdate : 2012-01-03 compatible : Angua depends : similar : tags : media, images, ajax, javascript, lightbox downloadurl: https://github.com/downloads/glensc/dokuwiki-plugin-lightboxv2/lightbox-20120103.zip sourcerepo : https://github.com/glensc/dokuwiki-plugin-lightboxv2 bugtracker : https://github.com/glensc/dokuwiki-plugin-lightboxv2/issues ---- Integrate [[http://krewenki.github.com/jquery-lightbox/|jquery-lightbox]] (originally [[http://www.huddletogether.com/projects/lightbox2/|LightBox v2]]) JavaScript animation ===== Download and Installation ===== Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually. The plugin can also be installed via [[devel:git]]. % cd /lib/plugins % git clone git://github.com/glensc/dokuwiki-plugin-lightboxv2.git lightbox % cd lightbox % git submodule init % git submodule update Versions 20120103 and upwards work only with Anqua (2011-11-10), older releases do not work with Anqua and that release does not work with older Dokuwiki releases. You can find older releases from [[http://www.dokuwiki.org/plugin:lightboxv2?rev=1322909222|Page archive]] ===== Development ===== === Change Log === {{rss>http://github.com/glensc/dokuwiki-plugin-lightboxv2/commits/master.atom date}} === Bugs / Feature Requests ===== Please report bugs or feature requests at the [[https://github.com/glensc/dokuwiki-plugin-lightboxv2/issues|Bug tracker]]. ===== Examples ===== and link your image like this {{wiki:dokuwiki-128.png|Image Description}} {{wiki:dokuwiki-128.png|Image Description}} or like this {{wiki:dokuwiki-128.png?200x50|Image Description}} {{wiki:dokuwiki-128.png?200x50|Image Description}} ======Discussion====== **NOTE:** Don't post patches, bug reports or feature requests here. Use the [[https://github.com/glensc/dokuwiki-plugin-lightboxv2/issues|Bug Tracker]] instead. --- [[user>glen|glen]] //2012/01/04 08:00// ------------------------- * Is there any way someone could make this js more selective about when it is called? It seems to get called no matter what file I pick whether it is a picture, pdf, doc, whatever. The js always gets activated. Thanks ------------------------- * Can somebody adapt this plugin to be able to use images in BBCode syntax? Thanks. ------------------------- * How can i use little pictures without lightbox and large pictures with lightbox in one page ? -------------------------