You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Johan Doornenbal <jo...@filternet.nl> on 2014/07/22 09:03:10 UTC

Can you get me started with images in Isis?

Hi,

I would like to add a property to user class that holds an image of the
user.
Can you get me started? Is Java 2D an option or Š? And how can I display the
image in the UI?

Hartelijke groet,

Johan Doornenbal
M 06 227 666 28
johan@filternet.nl
www.yodo.nl

Bongastate 11
8926 PJ Leeuwarden





Re: Can you get me started with images in Isis?

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
There's a class in the Isis applib called Blob
(org.apache.isis.applib.value.Blob).  If you upload a PNG or similar into
this, then it'll be rendered automatically in the Wicket viewer.

You can try this out in the quickstart (todo app)... the "attachment"
property.

Cheers
Dan


PS: could you subscribe to the mailing list if you didn't already?.. your
messages are still coming through as requiring moderation approval which
usually means sent from an unsubscribed email account.  Thx.





On 22 July 2014 08:03, Johan Doornenbal <jo...@filternet.nl>
wrote:

> Hi,
>
> I would like to add a property to user class that holds an image of the
> user.
> Can you get me started? Is Java 2D an option or Š? And how can I display
> the
> image in the UI?
>
> Hartelijke groet,
>
> Johan Doornenbal
> M 06 227 666 28
> johan@filternet.nl
> www.yodo.nl
>
> Bongastate 11
> 8926 PJ Leeuwarden
>
>
>
>
>