Name

LightBoxJS Plugin

Publisher

Derik Vercueil

License

Open Source (GPL v2)

Version

0.1

Experimental

Yes

Homepage

http://code.google.com/p/struts2lightboxplugin/

Download

http://code.google.com/p/struts2lightboxplugin/downloads/list

Error formatting macro: rate: java.lang.NoSuchMethodError: 'java.lang.String com.atlassian.confluence.setup.BootstrapManager.getDomainName()'

Overview

LightBoxJS Plugin makes it easier to use the popular LightBoxJS script. This tag will take your original image and generate thumbnails on the fly.

Usage:

Import the tag:

<%@ taglib prefix="lightbox" uri="/lightbox"%>

Use the tag as follows:

<lightbox:thumbnail imageURL="images/myimage.png" imageCaption="Some image caption"/>

For the above example, the thumbnail created will be in "images/thumbnails/myimage.png".

To group multiple images use the following:

<lightbox:thumbnail imageURL="images/myimage1.png" imageCaption="Some image caption 1" imageGroup="mygroup"/>
<lightbox:thumbnail imageURL="images/myimage2.png" imageCaption="Some image caption 2" imageGroup="mygroup"/>

The lightbox:head tag must be included in all the pages that will use the tags from this plugin.

  • No labels