inserts gravatar images
Project description
Detailed Documentation
Gravatar widget for toscawidget and turbogears
This Widget allow for the insertion of gravatar’s image
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tw.gravatar-0.1a0dev-20100727.tar.gz.
File metadata
- Download URL: tw.gravatar-0.1a0dev-20100727.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
309ae20cd2129f85680938bf714cfa7fe9da31d82d333a54b587cc6b84f17bbb
|
|
| MD5 |
da8df28218cbd221331102307d29c440
|
|
| BLAKE2b-256 |
eb75ca67c02e824677b9d84f55bbf1e145a8212ab5cfc9deda9b306a44a6ec32
|