Svelte component for rendering a gravatar profile image. Adjusts automatically to HiDPI displays.
Based on the brilliant react-gravatar from Kyle Mathews.
https://svelte-gravatar.now.sh/
See https://en.gravatar.com/site/implement/images/ for documentation on all the options.
If you wish to avoid sending an email address to the client, you can
compute the md5 hash on the server and pass the hash to the component
using the md5
prop instead of the email
prop.
Gravatar for {email}
<Gravatar email="[email protected]" />
<Gravatar email="[email protected]" size={100} rating="pg" default="monsterid" alt="Image from email" useWaypoint={false} domain="www.gravatar.com" protocol="http://" />