-# 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:
-
- $a->config['system']['addon'] = "..., gravatar";
-
-You can add two configuration variables for the addon:
-
- $a->config['gravatar']['default_avatar'] = "identicon";
- $a->config['gravatar']['rating'] = "g";
+Open the `config/node.config.php` file and add "gravatar" to the list of activated addons:
+
+ 'addons' => [
+ ...
+ 'gravatar' => [
+ admin => true,
+ ],
+ ]
+
+You can add two configuration variables for the addon to the `config/gravatar.config.php` file:
+
+ return [
+ 'gravatar' => [
+ 'default_avatar' => 'identicon',
+ 'rating' => 'g',
+ ],
+ ];
[1]: http://www.gravatar.com/site/implement/images/ "See documentation at Gravatar for more information"