Different gravatar style for unregistered users

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
12/28/2011 5:44:28 AM
Gravatar
Total Posts 251

Different gravatar style for unregistered users

I find the default icon for guest users using gravatar pretty boring

It would be interesting to add an option as in the controlling the size of avatars, but passing one of the arguments like identicon, wavatar, and so on as in here http://gravatar.com/site/implement/images/

eg: gravatar.com/avatar/[hash].jpg?d=retro

12/28/2011 1:11:31 PM
Gravatar
Total Posts 18439

Re: Different gravatar style for unregistered users

Hi,

I did not know Gravatar had those options, but actually you can use them now, just add this to your theme.skin file and set the value to your own preference

<portal:Gravatar runat="server"
DefaultImage="retro"
/>

Best,

Joe

12/28/2011 4:05:36 PM
Gravatar
Total Posts 251

Re: Different gravatar style for unregistered users

Works very well and without hassles!

(for example, in my forum - in italian - )

Also with this function I noticed that the "slow caching" problem of avatars disappeared

(I had a problem where an user still got the default image even if the avatar link was working - tried with many browsers, weird problem)

Thanks a lot!

You must sign in to post in the forums. This thread is closed to new posts.