Update: This implementation is now linked from the official Gravatar website!
It includes the help and documentation from the Gravatar API page, and automatically does HTTPS/SSL requests if included on a page that is served securely (secure requests can be forced too).
- Head over to the project page on GitHub, and save the single file
GravatarHtmlHelper.csinto your project
- Start using it with the HtmlHelper sytax, like so:
and that’s it! The helper method is progressively overloaded, so you need only supply the minimum parameters to get the Gravatar you’re after.
Comments and suggestions are welcome here or on the projects issue tracker over at GitHub. I hope you find it useful 🙂