cogDisplays images in a Lightbox2 by Lokesh Dhakar
Developed by

Roman Petrov, xwiki:XWiki.simba, Oana Florea

Active Installs86
1 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager


A replacement of [[image]]. It creates a slideshow-styled window when clicking the image.
Based on Lightbox version 2.11.1 (by Lokesh Dhakar)

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



You can select it from the WYSIWYG editor:



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" /}}
image(required)An url or the attached image file. For example, "cat.jpg" or "xwiki:[email protected]" or ""
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.

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes


Version 1.1 - First release


Get Connected