Gemavatar 2
is the (inofficial) successor of the original Gemavatar plugin for Redmine.
It's replacing the Gravatars of users by JPEG pictures that are stored in the ldap auth_source of Redmine.
Make sure to enable Gravatars!
-
Download the latest release (or git clone the repo
git clone [email protected]:Boy132/redmine_gemavatar.git
) and unzip it in the plugins folder. Please be sure to rename the folder toredmine_gemavatar
if necessary. -
Install required gems:
bundle install --without development test --no-deployment
-
Do the database migration:
bundle exec rake redmine:plugins NAME=redmine_gemavatar RAILS_ENV=production
-
Restart the web server service. (e.g.
touch tmp/restart.txt
)
First, make sure that the Gravater feature of Redmine is enabled.
Then go to Administration > Plugins and click Configure
on the Gemavatar
plugin.
There you must set:
- The maximum time the avatars are cached on disk.
- Whether to allow users to refetch their own avatar from AD.
- The string that defines the property in your LDAP server where the photo is stored (
thumbnailphoto
works for me, butjpegphoto
was the original plugin value)
- Just go to your user page, and your avatar should be visible there.
- Note that the jpeg pictures are automatically cropped to be squared