Lightbox Macro

Version 38.1 by Thomas Mortagne on 2011/10/27 18:12

cogDisplays an image slideshow in a lightbox
Typewikimacro
Category
Developed by

Zhaolin Feng,  ElenaOanaTabaranu

Rating
0 Votes
LicenseUnknown

Description

A replacement of [[image]]. It creates a slideshow-styled window when clicking the image. 

It's a syntax 2.0 macro and can be used in the WYSIWYG editor. It's based on the Lightbox Application created by ElenaOanaTabaranu.

lightbox.jpg

Usages

You can select it from the WYSIWYG editor. 

lightbox2.jpg

Or you can use the following syntax.

A single image

{{lightbox image="cat.jpg" /}}

A group of images

{{lightbox image="cat.jpg" group="g0" /}}
{{lightbox image="cat2.jpg" group="g0" /}}
ParamDescription
image(required)An url or the attached image file. For example, "cat.jpg" or "xwiki:Space.Page@cat.jpg" or "http://www.google.com/logos/wateronmoon09-hp.gif"
titleA short description
widthThe width of the image.
heightThe height of the image.
groupA string that identify it as a member of a group. A group of images can be viewed as a series of slides.

Get Connected