跳到内容

Local Gravatars

v1.1.3

Joost de Valk · 2020年10月7日 上架

Locally host gravatars for the privacy-concious.

正在使用
30+
评分
5.0 / 5
累计下载
2,665
最近更新
2025年11月5日
1 条评价需要 WordPress 5.3+已测试到 6.8.13PHP 5.6+

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).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums