NGravatar 1.0.1

NGravatar provides MVC HtmlHelper and UrlHelper extension methods for rendering Gravatar avatars from The project is licensed under the MIT open-source license and is hosted at Google Code. See for more information.

               Gravatar avatars are retrieved based on an email address and optional parameters. A rendered Gravatar avatar on an MVC view page might look something like:

               @Html.Gravatar("", 80, htmlAttributes: new { style = "border:10px solid blue;" })

               The above line would render an <img> tag with the source of the Gravatar for "". The size, default image, rating, and any additional HTML attributes can also be specified.

               Using NGravatar requires that the "NGravatar.Html" namespace be added to the Web.config (or the top of a view with a @using directive). See the source at Google Code for an example project.

Install-Package NGravatar -Version 1.0.1
dotnet add package NGravatar --version 1.0.1
<PackageReference Include="NGravatar" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NGravatar --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NGravatar, 1.0.1"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

Version 1.x.x is a complete rewrite of NGravatar with many breaking changes. To prevent these changes from affecting your code, don't update past version 0.x.x. Instructions on how to do so can be found here:

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 2,549 7/29/2013
0.3.2 1,097 12/6/2012
0.3.1 1,439 3/8/2012
0.2.3 862 2/18/2012