Skip to main content

inserts gravatar images

Project description

.. contents::

Detailed Documentation
**********************


Gravatar widget for toscawidget and turbogears
==============================================

This Widget allow for the insertion of gravatar's image

`http://www.gravatar.com/`_

A common use in lib/helpers.py::

from tw.gravatar import Gravatar
gravatar=Gravatar(size=32, rating="G", default="wavatar")

anywhere in templates::

${h.gravatar(email='your.name@domain.com')}

parameters you can use::

params = {
"email": "email adress associated to a gravatar",
"size": "size in pixels of the expected image",
"rating": "a string chosen from 'G', 'PG' 'R' or 'X'",
"default": "identicon, monsterid, mm, wavatar"
}

Contributors
************


Main developpers
================

* Nicolas Laurance <nicolas[dot]laurance[at]gmail[dot]com>


Change history
**************

New in 0.1
==========

First Release

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page