Custom JSP taglib. This taglib lets you obtain width and height for image file. For example:
<%@ taglib uri="taglib.tld" prefix="i" %> <i:ImageHeight src="http://server/open.gif"/> <i:ImageWidth id="A">/cj/open.gif</i:ImageWidth> Width is <%=A%> Tags are: ImageWidth Body tag. Lets you obtain a width for image file. Parameters are: 1) src Optional parameter. Describes an image file or URL. By default tag will use
body content as image path definition.
ImageHeight Body tag. Lets you obtain a height for image file. Parameters are: 1) src Optional parameter. Describes an image file or URL. By default tag will use
body content as image path definition.
for downloading: Library: imageinfotag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|