Simple open source Libravatar compatible avatar image server written
mmfallback image (mystery man)
Setup your web server and set the document root to the
directory. Make sure you allow the
.htaccess file and have
_avatars._tcp.example.org. IN SRV 0 0 80 avatars.example.org
_avatars-sec._tcp.example.org. IN SRV 0 0 443 avatars.example.org
This makes the avatar server
avatars.example.org responsible for
example.org, on ports 80 (HTTP) and 443 (HTTPS).
It is possible to use an existing domain as avatar server. Just copy
avatar.php into its document root dir and copy the rewrite rule from
.htaccess into the domain’s
.htaccess file if one exists. If not, copy the whole
.htaccess file. After that, you have to point the
$cfgFile path at the beginning of the
avatar.php file to the correct
raw/folder. Name has to be email address + image
php surrogator.php. The small files get generated.
surrogator.phpagain, it will only generate small
To check if everything is setup correctly, try the following tools:
Surrogator is licensed under the AGPL v3 or later.
Written by Christian Weiske, firstname.lastname@example.org