开发者 | Openvatar |
---|---|
更新时间 | 2008年2月23日 16:14 |
PHP版本: | 2.0.2 及以上 |
WordPress版本: | 2.3.3 |
openvatar.php
to the /wp-content/plugins/
directory<?php openvatar(); ?>
<?php openvatar(40); ?>
<?php openvatar(40, "http://www.mysite.com/avatar.jpg"); ?>
Openvatar is your Openid avatar image (80x80). Your avatar appear beside your name when you participate (comments or other contents) on Openvatar enabled sites.
There are a lot of services to get an Openid Account. Visit public Openid servers(http://wiki.openid.net//OpenIDServers). The first time you log in Openvatar, it will take your email and nickname from the Openid service. That data is necessary for your Openvatar account.
Login with your Openid account, edit your account and upload your avatar picture, it`s all.
If you want to enable Openvatar on your site, you don't need any Openvatar account. You only need to have your site Openid enabled, then install a plugin or setup your site yourself. To request the Openvatar images, add an image () in comments area with an "src" attribute that points to our Openvatar image generator and MD5 hash of the commenter's Openid URL.