Created
June 14, 2013 18:55
-
-
Save wurmr/5784313 to your computer and use it in GitHub Desktop.
Example MVC4 Gravatar.com icon support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="@String.Format("//www.gravatar.com/avatar/{0}?s=35", FormsAuthentication.HashPasswordForStoringInConfigFile(Membership.GetUser().Email.ToLower(), "MD5").ToLower())" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment