7

I want to download the avatar photo from my personal Gravatar profile.

I've unsuccessfully tried:

  • Clicking the photo on my profile. (Leads to resized 80x80 image)
  • Right-clicking my profile's photo and select Save image as (Option not available)
  • Searching the My Gravatars page.
  • Viewing my account's Photo Gallery.

Is there a way to download my personal profile icon from Gravatar?

6

You can request anyone's avatar with curl like this:

curl "http://gravatar.com/avatar/$(md5 -q -s nobody@example.com)?s=300" > avatar.png

Replacing nobody@example.com with your (or anyone else's) email address, and 300 with the pixel size (up to 2048). For example, s=300 will get you a 300x300 pixel image.

If you don't have access to a Unix command line, or would like to figure out the URL to enter directly, you'll need to generate the MD5 checksum of the email address. You can do that via various online tools, like this one.

Once you have the MD5 checksum, just plug it into the URL. For example, mine is 51e61f099c7b1ac0588ecda69193f75c, so my Gravatar URL is http://gravatar.com/avatar/51e61f099c7b1ac0588ecda69193f75c?s=300 for a 300x300 PNG.

| improve this answer | |
  • Nice, however it downloads in JPEG format, not PNG. Do you know how to download PNG? I've tried without success adding .png after the hash before the size. – Carlos Pinzón Nov 26 '19 at 12:07
  • If you're using PHP you can use the command md5 to generate the hash. More instructions here about PNG output en.gravatar.com/site/implement/images – Andrew Schultz Dec 15 '19 at 13:41
  • It was png for me... – rogerdpack May 14 at 17:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.