[DEPRECATED replacedBy="plugins/avatars-external"]

Clone this repo:
  1. 5037470 Allow to include image size into avatar URL by Edwin Kempin · 11 years ago master
  2. 7b802fe Wrap lines in documentation after 72 characters by Edwin Kempin · 9 years ago
  3. d0dfc93 Use Url class from Gerrit core for URL encoding by Edwin Kempin · 9 years ago
  4. 1cd9dd6 Update Eclipse settings by Edwin Kempin · 9 years ago
  5. 90c0f44 Build with API version 2.11 by David Pursehouse · 10 years ago

External URL Avatar Plugin Configuration

This plugin allows to use an own web service to load the avatar images from.

Options:

  • avatar.url - the location of avatar images containing %s, which will then be replaced by the username. Required.
  • avatar.changeUrl - the URL shown in Gerrit's user settings to tell the user, where the avatar can be changed. Optional.

Example (to be added to etc/gerrit.config):

[avatar]
    url = http://example.org/avatars/%s.jpg
    changeUrl = http://example.org/account.html

Please note that http:// URLs will be automatically rewritten to https://, if gerrit.canonicalWebUrl uses HTTPS.