public static GravatarImage ( this htmlHelper, string emailAddress, int size = 80, DefaultImage defaultImage = DefaultImage.Default, string defaultImageUrl = "", bool forceDefaultImage = false, Rating, rating = Rating.G, bool forceSecureRequest = false ) : IHtmlContent | ||
htmlHelper | this | |
emailAddress | string | Email Address for the Gravatar |
size | int | Size in pixels (default: 80) |
defaultImage | DefaultImage | Default image if user hasn't created a Gravatar |
defaultImageUrl | string | URL to a custom default image (e.g: 'Url.Content("~/images/no-grvatar.png")' ) |
forceDefaultImage | bool | Prefer the default image over the users own Gravatar |
rating | Rating, | Gravatar content rating (note that Gravatars are self-rated) |
forceSecureRequest | bool | Always do secure (https) requests |
리턴 | IHtmlContent |