Content last modified Monday 6 March 2017
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
Article modified:
06 Jan 2007

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:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern