Gravatar avatars support to Yii applications.
PHP
Switch branches/tags
Nothing to show
Latest commit f753db3 Jul 20, 2011 Sergey Malyshev Sergey Malyshev Merge branch 'master' of github.com:malyshev/yii-gravatar
Permalink
Failed to load latest commit information.
yii-gravatar
README.markdown

README.markdown

Yii Gravatar

Yii Gravatar is simple widget allows you to display a Gravatar images on your web sites

Installation

Extract the yii-gravatar from archive under protected/extensions

The widget can be used in the Yii view files as shown in the following example.

<?php
$this->widget('ext.yii-gravatar.YiiGravatar', array(
    'email'=>'malyshev.php@gmail.com',
    'size'=>80,
    'defaultImage'=>'http://www.amsn-project.net/images/download-linux.png',
    'secure'=>false,
    'rating'=>'r',
    'emailHashed'=>false,
    'htmlOptions'=>array(
        'alt'=>'Gravatar image',
        'title'=>'Gravatar image',
    )
)); ?>

Resources

[Gravatar images API documentation] (http://en.gravatar.com/site/implement/images/)

Project on Git Hub

TODOs and BUGS

##Change Log

###July 19, 2011

  • Initial release;