Simple Local Avatars

描述

Adds an avatar upload field to user profiles if the current user has media permissions. Generates requested sizes on demand just like Gravatar! Simple and lightweight.

Just edit a user profile, and scroll down to the new “Avatar” field. The plug-in will take care of cropping and sizing!

  1. Stores avatars in the “uploads” folder where all of your other media is kept.
  2. Has a simple, native interface.
  3. Fully supports Gravatar and default avatars if no local avatar is set for the user – but also allows you turn off Gravatar.
  4. Generates the requested avatar size on demand (and stores the new size for efficiency), so it looks great, just like Gravatar!
  5. Lets you decide whether lower privilege users (subscribers, contributors) can upload their own avatar.
  6. Enables rating of local avatars, just like Gravatar.

屏幕截图

  • Avatar upload field on a user profile page

安装

  1. Install easily with the WordPress plugin control panel or manually download the plugin and upload the extracted folder to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单激活插件
  3. If you only want users with file upload capabilities to upload avatars, check the applicable option under Settings > Discussion
  4. Start uploading avatars by editing user profiles!

Use avatars in your theme using WordPress’ built in get_avatar() function: https://codex.wordpress.org/Function_Reference/get_avatar

You can also use get_simple_local_avatar() (with the same arguments) to retrieve local avatars a bit faster, but this will make your theme dependent on this plug-in.

常见问题

Does Simple Local Avatars collect personal data of website visitors?

No. Simple Local Avatars neither collects, stores, nor sends any PII data of visitors or avatar users on the host site or to 10up or other services.

评价

2025 年 1 月 15 日 1 回复
Все работает как надо, css обволакивается и пользователи становятся довольными! Спасибо!
2024 年 11 月 4 日 1 回复
SIMPLE solution to the GDPR issue with WordPress Gravatars. I usually set up a default avatar for guests and allow users to use their own. Keep it up!

Ok

2024 年 10 月 17 日 1 回复
ok
2024 年 9 月 9 日 1 回复
No issues here. Works fine, just make sure to have Avatars on in the Setting > Discussion.
阅读所有88条评价

贡献者及开发者

「Simple Local Avatars」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Simple Local Avatars」插件已被翻译至 21 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Simple Local Avatars」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.8.3 – 2024-11-18

  • Changed: Only allow images that were uploaded by the same user be used when setting the avatar via a REST request (props @dkotter, @justus12337, @faisal-alvi via #317).
  • Fixed: Only allow image files to be set as the avatar in REST requests (props @dkotter, @justus12337, @faisal-alvi via #317).
  • Security: Bump @10up/cypress-wp-utils from 0.2.0 to 0.4.0, @sentry/node from 6.19.7 to 8.38.0, @wordpress/env from 9.2.0 to 10.11.0, cypress from 13.2.0 to 13.15.2, cypress-mochawesome-reporter from 3.6.0 to 3.8.2, puppeteer-core from 23.3.0 to 23.8.0 (props @dkotter via #319).

2.8.2 – 2024-11-12

  • Fixed: Ensure dependencies are (actually) included properly in the release (props @dkotter via #316).

2.8.1 – 2024-11-12

  • Fixed: Ensure dependencies are included properly in the release (props @dkotter via #315).

2.8.0 – 2024-11-12

Note that this release bumps the minimum required version of WordPress from 6.4 to 6.5.

2.7.11 – 2024-07-18

Note that this release bumps the minimum required version of WordPress from 6.3 to 6.4.

2.7.10 – 2024-05-24

2.7.9 – 2024-05-14

2.7.8 – 2024-05-08

Note that this release bumps the minimum required version of WordPress from 5.7 to 6.3.

2.7.7 – 2023-12-13

2.7.6 – 2023-11-30

View historical changelog details here.