2

Some sites have the ability to grab your profile picture after you sign up for the first time without the user actually uploading a pic. I think stackoverflow has this functionality at sign as well....How does it work?

MaxVT
  • 12,989
  • 6
  • 36
  • 50
user40477
  • 57
  • 1
  • 6

4 Answers4

6

It uses gravatar.com I believe. You associate an avatar with your email and then sites can use your email to locate your avatar. There is a plugin for Wordpress. Or google search 'gravatar API' to put it on your own site.

Good luck!

alex
  • 479,566
  • 201
  • 878
  • 984
5

stackoverflow uses gravatars which are linked by your email address. You can read more about how gravatar works on their developer resources page.

Jared
  • 8,390
  • 5
  • 38
  • 43
3

There is a site called http://gravatar.com that takes a MD5 hash of your email to load a profile picture

bendewey
  • 39,709
  • 13
  • 100
  • 125
1

They're using OpenID. Some OpenID providers allow you to upload a profile picture or it wil associate it with your Gravatar's e-mail address (http://en.gravatar.com/).

Chad Moran
  • 12,834
  • 2
  • 50
  • 72