Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

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">

Article Request Count:
Initially released:
2005-03-15
Posted here:
15 Mar 2005

You know you want to visit the Archives.
Published with Textpattern