I would create your own 'ContextImage' that does exactly what you
want. Extend component, override oncomponenttag and put the model
value into the src attribute.
Martijn
On Tue, Jun 7, 2011 at 11:46 PM, Daniele Dellafiore wrote:
> Hi.
>
> I take some user uploaded images from an external service
Do you think that can be good also if I want to let the browser cache some
images? I serve thumbnails that I do not want to be server every time.
On Tue, Jun 7, 2011 at 11:52 PM, Martin Grigorov wrote:
> use Image with DynamicImageResource which loads the image with
> urlConnection
>
> On Tue, J
use Image with DynamicImageResource which loads the image with urlConnection
On Tue, Jun 7, 2011 at 11:46 PM, Daniele Dellafiore wrote:
> Hi.
>
> I take some user uploaded images from an external service that answer
> at, say, localhost:8181/images
> My wicket app run on localhost:9191/app
> I wa
Hi.
I take some user uploaded images from an external service that answer
at, say, localhost:8181/images
My wicket app run on localhost:9191/app
I want to load the images from the first service, and I'd like to use
a ContextImage that is easy to use:
new ContextImage("picture", "images/ + code);