Licence: GNU General Public License (GPL) version 2
Elgg version:

This is a very simple gravatar plugin which illustrates the use of the getIcon() API.

Note: Related to this blog post.