I frequently see the following kind of images on many websites (on StackOverflow for example).
What is this kind of image called and how do I generate it? (preferably in PHP)
Just google 'gravatar'.... (as an alternative to what u wanted)