TIP AvatarPlugin is not installed on Foswiki.org.

Avatar plugin

embed Avatars into foswiki

Add http://www.libravatar.org/ (or run your own libravatar server) or http://gravatar.com __or Foswiki:Extensions.PersonalInfoAddOn user images to your foswiki.

When this plugin is enabled, Any Links to user's home pages get that user's avatar image added to it.

%META:TOPICINFO{author="ProjectContributor" date="1297235055" format="1.1" version="$Rev$"}%

AVATAR -- try to show a gravatar for a user

  • The %AVATAR{}% variable is handled by the AvatarPlugin
  • Syntax: %AVATAR{"UserWikiName" default="..." size="24"}%
  • Parameter default="..." - a default icon to use - Defaults to mm can be 404, mm, identicon, monsterid, wavatar, retro or a url to an image (see http://en.gravatar.com/site/implement/images/) - ignored if {UsePersonalInfoAddOn} setting is set in =configure=
  • Parameter size="..." - image size in pixels (just a number) - Defaults to 20
  • Example: %AVATAR{"SvenDowideit" default="identicon" size="48"}% - returns identicon
  • Related: AvatarPlugin


You can select the avatar server to use in Extensions - AvatarPlugin - AvatarServerBaseUrl in configure

or you can tell the plugin to only use the Foswiki:Extension.PersonalInfoAddOn images - requires Foswiki:Extension.PersonalInfoAddOn and Foswiki:Extension.ImagePlugin

future development

  1. gravatar profile popups
  2. context aware size options (configurable default and size) - or perhaps replace plugin magic with a AVATAR for more control
  3. could it be possible to over-ride the remote server with a user topic setting? allowing local foswiki customisations


You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.


Author: foswiki:Main.SvenDowideit - http://fosiki.com
Copyright: © 2011, SvenDowideit@fosiki.com
License: GPL (GNU General Public License 3)
Release: 1.0.0
Version: 11875 (2011-06-08)
Change History:  
1.0.0 (08 June 2011): Initial version
Home: http://foswiki.org/Extensions/AvatarPlugin
Support: http://foswiki.org/Support/AvatarPlugin

Topic attachments
I Attachment Action Size Date Who Comment
AvatarPlugin.md5md5 AvatarPlugin.md5 manage 159 bytes 08 Jun 2011 - 12:30 SvenDowideit  
AvatarPlugin.sha1sha1 AvatarPlugin.sha1 manage 183 bytes 08 Jun 2011 - 12:31 SvenDowideit  
AvatarPlugin.tgztgz AvatarPlugin.tgz manage 11 K 08 Jun 2011 - 12:30 SvenDowideit  
AvatarPlugin.zipzip AvatarPlugin.zip manage 14 K 08 Jun 2011 - 12:30 SvenDowideit  
AvatarPlugin_installerEXT AvatarPlugin_installer manage 4 K 08 Jun 2011 - 12:30 SvenDowideit  
example.jpgjpg example.jpg manage 6 K 08 Jun 2011 - 12:30 SvenDowideit  
Topic revision: r2 - 10 Jun 2011, MatthiasThullner - This page was cached on 17 Sep 2021 - 15:15.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy