Add support for avatar images. Closes #33