Image box taglib ver. 1.1

    Custom JSP taglib. Lets you output an image with caption wrapped with a border. For example:
 


<%@ taglib uri="taglib.tld" prefix="t" %>

<t:ImageBox width="250px" src="shell.jpg">Shell window</t:ImageBox>

and you will get some like this:

Shell window


 

Tags are:

ImageBox

Body tag lets you output a wrapped image (image and caption in a box). Attributes are:

1) src Describes an URL for the image.
2) title Optional attribute. Describes a tooltip.
3) width Optional attribute. Describes a width. Default value is 125px.
4) color Optional attribute. Describes a color for the border. Default value is black.
 

for downloading:

 Library: imageboxtag.jar     Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: