This is just a bare basics addon that adds an avatar gallery to the page where you choose your avatar.
Installation is the same as with any other addon. Once installed be sure to check the Options page to enable the gallery and change the path where the gallery looks for avatar images. And of course copy some images to the avatars folder configured in the options screen.
This addon was developed in service of Genia, who kindly allowed me to open-source it.