This plugin allows you to generate a gravatar URL complete with rating, size, default, and border options. See the documentation for syntax and usage: http://www.gravatar.com/implement.php#section_2_2. It also shows LiveJournal userpics in comments.