ajw_favatar
This plugin allows for display of favatars (favicon avatars) in comments and is intended to be used within your default comment form. The output is a complete image tag; if no image is found or some problem occurs, no image tag is output.
This plugin requires Textpattern 1.0RC3 revision 180 or later (revs 142 thru 179 can make it work with a one-line hack).
Attributes:
- class (optional)
- format (optional)
- usecache (optional, but recommended)
- cachedir (optional)
- cachetime (optional)
Examples:
<txp:ajw_favatar class="favatar" usecache="1" cachedir="/images" />
Fresh result:
<img src="http://compooter.org/favicon.ico" class="favatar" />
Cached result:
<img src="/images/c4f840fc0614fbad08c0b1f4944728b1.ico" class="favatar" />
<txp:ajw_favatar class="favatar" usecache="1" format="html" />
Fresh result:
<img src="http://compooter.org/favicon.ico">
Cached result:
<img src="/images/cache/c4f840fc0614fbad08c0b1f4944728b1.ico">









If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site. Get a Gravatar.