You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

NGravatar

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

NGravatar

NGravatar provides MVC HtmlHelper and UrlHelper extension methods for rendering Gravatar avatars from gravatar.com. The project is licensed under the MIT open-source license and is hosted at Google Code. See http://code.google.com/p/ngravatar/ 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("ngravatar@kendoll.net", 80, htmlAttributes: new { style = "border:10px solid blue;" }) The above line would render an <img> tag with the source of the Gravatar for "ngravatar@kendoll.net". 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.

1.0.1
nugetNuGet
Version published
Maintainers
1
Created
The README file is missing

Keywords

NGravatar

FAQs

Package last updated on 29 Jul 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts