Hi,
you may find this class useful for your requirements:
http://xaloon.googlecode.com/svn/trunk/xaloon-wicket-repository/src/main/java/org/xaloon/wicket/component/resource/ImageLink.java
This class takes image from JCR and shows as image.
Peter Dotchev wrote:
Hi,
My app allows users to upload images and I store them in JCR
<http://en.wikipedia.org/wiki/Content_repository_API_for_Java>. I can
get InputStream for each one of them.
I want to display images in specific pages and I want image URLs to be
stable/bookmarkable. Also I don't want these pages to use the session
in any way.
I checked again chapter 9 about images from Wicket In Action but such
use case is not addressed there.
I found that SharedResources allows for stable URLs, but I cannot
register each individual image.
What approach would you suggest?
Best regards,
Peter
--
Regards,
Vytautas Racelis
-----------------------------------
phone:+370-600-34389
e-mail: turi...@gmail.com
www.xaloon.org
www.leenle.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org