tw.gravatar 0.1a0dev-20100727
inserts gravatar images
Contents
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
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| tw.gravatar-0.1a0dev-20100727.tar.gz (md5) | Source | 2010-07-27 | 10KB | 319 | |
- Author: Nicolas Laurance
- Home Page: http://code.google.com/p/twgravatar/
- Keywords: toscawidgets.widgets,gravatar
-
Categories
- Development Status :: 3 - Alpha
- Environment :: Web Environment
- Environment :: Web Environment :: ToscaWidgets
- Framework :: TurboGears :: Widgets
- Intended Audience :: Developers
- License :: OSI Approved :: GNU Affero General Public License v3
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Software Development :: Widget Sets
- Package Index Owner: nlaurance
- DOAP record: tw.gravatar-0.1a0dev-20100727.xml
