Hey guys,
I've updated the Gravatar widget that was origionally created by Ty.
The implementation now is actually very different. No longer is the
Gravatar class an instansiable class, its an object with overloaded
apply methods. So, now, rather than:
val g = new Gravatar()
g.render("[EMAIL PROTECTED]")
You need to do:
Gravatar("[EMAIL PROTECTED]")
Or, if you want an image with a set size, you do:
Gravatar("[EMAIL PROTECTED]", 50)
Or, if you want to produce one thats for a set rating (other than the
default "G") do:
Gravatar("[EMAIL PROTECTED]", 50, "R")
Hope thats all ok for everyone
Cheers, Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---