Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

inserts gravatar images

Project Description

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

Release History

Release History

This version
History Node

0.1a0dev-20100727

History Node

0.1a0dev-20100723

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tw.gravatar-0.1a0dev-20100727.tar.gz (10.8 kB) Copy SHA256 Checksum SHA256 Source Jul 27, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting