Wavatars will generate and assign icons to the visitors leaving comments at your site. It can optionally show Gravatars as well.
Thanks to Gavin Lambert for many of these changes.
wavatar_show($comment->comment_author_email)as opposed to wavatar_show($comment_author_email), as the eariler versions directed. The latter will work in some situations but fail in others, and so the former is more correct. The readme and the admin panel have been updated to reflect this.
If you place Wavatars by calling wavatar_show () manually, note that you can also specify an optional "size" argument to override the default. For example:
This would cause the Wavatar to be 160x160 pixels, even if the default was set to some other value. You could do this to make admin icons larger, for example.
If wavatar_show () STILL doesn't give you enough control, you can call:
And it will return the URL to the created image without writing anything to the page.
Put this code in your theme:
for ($i = 0; $i < 100; $i++) wavatar_show ($i);
It will generate a field of 100 random wavatars, which is amusing. This is how I generated the wavatar screenshot. It's also a great way to quickly test you source images if you're editing the composite parts to make new wavatar types.