Description
Allow your users to use gravatars, but without sacrificing privacy.
The plugin will get your users gravatars and host them locally on your website.
Your visitors will get the gravatars directly from your website instead of the gravatar CDN, therefore increasing privacy and performance.
To avoid cluttering the filesystem and to allow refreshing gravatars, the files get flushed on a weekly basis (interval can be modified using a filter).
To avoid performance issues server-side, the download process for gravatars is limited to a maximum of 5 seconds (value can be modified using a filter).
The code is simple, easy to read, well-documented and includes filters you can use to modify the behavior of the plugin:
- Changing the folder where gravatars get downloaded.
- Change the URL of downloaded gravatars.
- Change the cleanup frequency.
- Change the maximum process time to avoid performance issues.
- Change the fallback image to use (defaults to blank) – also allows using the remote URL (not recommended as it will defeat the purpose of this privacy enhancement).
Reviews
Contributors & Developers
“Local Gravatars” is open source software. The following people have contributed to this plugin.
Contributors“Local Gravatars” has been translated into 4 locales. Thank you to the translators for their contributions.
Translate “Local Gravatars” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.