-# Gravatar Plugin
+# Gravatar Addon
by [Klaus Weidenbach](http://friendica.dszdw.net/profile/klaus)
This addon allows you to look up an avatar image for new users and contacts at [Gravatar](http://www.gravatar.com). This will be used if there have not been found any other avatar images yet for example through OpenID.
See more information at [Gravatar][1].
## Alternative Configuration
-Open the .htconfig.php file and add "gravatar" to the list of activated addons:
+Open the `config/local.config.php` file and add "gravatar" to the list of activated addons:
- $a->config['system']['addon'] = "..., gravatar";
+ 'system' => [
+ ...
+ 'addon' => '...,gravatar'
+ ...
+ ]
-You can add two configuration variables for the addon:
+You can add two configuration variables for the addon to the `config/addon.config.php` file:
- $a->config['gravatar']['default_avatar'] = "identicon";
- $a->config['gravatar']['rating'] = "g";
+ 'gravatar' => [
+ 'default_avatar' => 'identicon',
+ 'rating' => 'g',
+ ],
[1]: http://www.gravatar.com/site/implement/images/ "See documentation at Gravatar for more information"