Introduction:- The Gravatar control is an asp.net control that enables you to use gravatar images on your asp.net web pages.This control is very simple to use.You have to just set some Gravatar control's properties like Email, size,Rating DefaultImageBehavior, DefaultImage etc.For this, First you have to Register on http://www.gravatar.com .After that upload your required images which you want to render on your website or blogs.You will get an URL link for every image.Here we will display gravatar images using help of gravatar control.
Before using this concepts you have to Install Ajax toolkit on your visual studio.
There are some properties of Gravatar control as given below:-
5. DefaultImage:- This is required a URL of the image.This image will be displayed,if the gravatar image can not be displayed because of unacceptable rating or the email account is not associated with gravatar.com.Before using this concepts you have to Install Ajax toolkit on your visual studio.
There are some properties of Gravatar control as given below:-
- Email :-This is a required property,You have an email associated with gravatar.
- Size:- This is helpful to render the customize size of images on web page.
- Rating:- This is helpful to display the acceptable rating of image.
- DefaultImageBehavior:-This property is helpful to display the image when a gravatar is not associated with an email account.There are some possible options as given below:-
- MysteryMan:-This is helpful to display the same image of an anonymous profile of a man(a MysteryMan) for all unrecognized email.
- Identicon:- This is helpful to generate different geometric pattern for each unrecognized email.
- Wavatar:- This is helpful to generate a different face of image for unrecognized email.
- MonsterId:-A different image of a monster is generated for each unrecognized email.
- Retro:- This helpful to generate 8 bit arcade-style face for each unrecognized email.