Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Image Tag Library

 
Leslie Barlow
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I simply need to rotate an image 90 degrees. It looks like the cleanest design option is to use Jakarta's sandbox Image Tag Library. The example program packaged with it appears to execute properly; however, when I run my own sample implementation my image does not display at all. And when I view the page source there is no image tag.

I followed the instructions and added the appropriate lines to my web.xml file and the .jar file is in my WEB-INF/lib directory and the .tld file is in the WEB-INF directory. My jsp code looks like this:

<img:image
src="/images/fni8196.jpg"
name="fni8196_h.jpg"
attributes="alt='Test'"
refresh="true">
<img:rotate degrees="90"/>
</img:image>

Has anyone worked with this library or have any ideas about what may be happening?

Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Other Open Source Projects forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!