Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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

Wiki Markup
{rate:title=Rating|theme=dynamic}

Overview

LightBoxJS Plugin

Excerpt

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:

Code Block
HTML
HTML
<%@ taglib prefix="lightbox" uri="/lightbox"%>

Use the tag as follows:

Code Block
HTML
HTML
<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:

Code Block
HTML
HTML
<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"/>
Warning

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