Gravatar.GetGravatarImage

Returns a Gravatar Image Tag that can be directly embedded into an HTML document.

public static string GetGravatarImage(string Email,
	int Size,
	string Rating,
	string ExtraImageAttributes,
	string DefaultImageUrl)

Parameters

Email
Email address to display Gravatar for

Size
Size in pixels (square image) (80)

Rating
Parental Guidance rating of image (PG)

ExtraImageAttributes
Any extra attributes to stick on the img tag

DefaultImageUrl
Url to image if no match is found. If not passed gravatar provides default image


See also:

Class Gravatar

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic