| Apache Struts 2 Plugin Registry > Home > LightBoxJS 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 |
LightBoxJS Plugin makes it easier to use the popular LightBoxJS script. This tag will take your original image and generate thumbnails on the fly.
Import the tag:
Use the tag as follows:
For the above example, the thumbnail created will be in "images/thumbnails/myimage.png".
To group multiple images use the following:
The lightbox:head tag must be included in all the pages that will use the tags from this plugin. |