cogDisplays an image slideshow in a lightbox
TypeXAR
Developed by

Zhaolin Feng, Oana Florea

Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

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 Elena Oana Tabaranu.

lightbox.png

Usages

You can select it from the WYSIWYG editor:

lightbox2.png

lightbox1.png

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:[email protected]" 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.

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
1.4XWiki Enterprise 6.0.1, 7.1.3

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

v1.4

Version 1.4 adds capability for this macro to accept image in the same layout like the image syntax. E.g. "xwiki:[email protected]".

Created by Zhaolin Feng on 2009/11/14 06:52
    

Get Connected