The Gravatar or globally recognised avatar is basically an image associated to our email id, which appears besides our comments, blogs posts, sites etc.
To request an image of Gravatar, we need to first calculate hash of the email id and pass it to the URL
The format à
Using this information, just created a PCF control for single line of text – email type that will show the Gravatar associated to it. It was more from learning perspective than trying to implement a business case or requirement.
This is how the control looks like within the form.
For another email id, it shows the corresponding avatar image.
For cases where there are no gravatar associated it shows the default image
And as we are using it for the email type of text field, the usual validation provided by the platform works seamlessly.
Get the tool here
Hope it helps..