Wicket gem: Gravatar

from the javadoc:

Creates an image that is rendered by the Gravatar online service. Gravatars are user
icons that are registered by a central server and that can be used across the
internet with blogs, forums and other profile based websites.

The Gravatar requires the email address for which the gravatar image
needs to be rendered (each gravatar account can have multiple email addresses
registered).

Available options:

  • you can set the {@linkplain #setSize(int) size of the rendered image}
  • you can pick a {@linkplain #setRating(String) rating} for the intended
    audience
  • you can set the {@linkplain #setDefaultImage(String) default image} that
    is rendered when no gravatar was found with the provided email address
  • you can choose to use a {@linkplain setSecure secure https protocol or
    plain http}
  • the gravatar supports both the {@link #setAlt(IModel) alt} and
    {@link #setTitle(IModel) title} attributes

Set the static fields if you want to modify the defaults for your whole
application.

@author dashorst

http://gist.github.com/266444

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>