跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

AM-Avatar

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

AM-Avatar

作者:amdevbro
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

AM-Avatar is a lightweight and efficient WordPress plugin that allows users to upload custom profile pictures directly from their user profile page.

Key features:
* Automatic WebP Conversion: All uploaded images are automatically converted to WebP format for superior performance and smaller file sizes.
* Smart Integration: Seamlessly replaces the default Gravatar section on the profile page using a native-looking interface.
* Organized Storage: Keeps your uploads folder clean by storing all avatars in a dedicated /uploads/am-avatar/ directory.
* Settings Page: Includes a dedicated settings menu to manage plugin preferences.
* Cleanup Option: Choose whether to permanently delete all uploaded data and settings when the plugin is uninstalled.
* Security First: Includes Nonce verification, strict sanitization, and WP_Filesystem API integration.
* Performance: Automatically resizes images to 150x150px to ensure fast loading times.
* Privacy Friendly: No external calls to Gravatar servers when a custom avatar is set.

屏幕截图

  • The custom avatar upload field integrated into the WordPress User Profile page.
  • The dedicated settings page for cleanup management.

安装

  1. Upload the entire am-avatar folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. (Optional) Go to ‘Settings’ -> ‘AM-Avatar’ to configure cleanup preferences.
  4. Go to your ‘Profile’ page to upload your new custom avatar.

常见问题

Where are the images stored?

All custom avatars are stored in the wp-content/uploads/am-avatar/ folder.

Does it delete old files?

Yes, the plugin automatically deletes the previous avatar file from the server when a new one is uploaded or when you choose to delete your custom picture.

What happens to my data if I delete the plugin?

You can control this in the plugin settings. If the “Delete data on uninstall” option is checked, all uploaded images and database entries will be permanently removed upon deletion. Otherwise, the files remain on your server.

评价

此插件暂无评价。

贡献者及开发者

「AM-Avatar」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • amdevbro

帮助将「AM-Avatar」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0

  • Initial public release.
  • Added WebP conversion and 150px auto-resize.
  • Integrated into the native profile picture section using jQuery.
  • Added dedicated Settings page for admin control.
  • Implemented secure uninstall cleanup functionality.
  • Added Security Nonce verification, sanitization, and WP_Filesystem integration.
  • Multi-language support (i18n).
  • Available languages: English, Hungarian

额外信息

  • 版本 1.0
  • 最后更新:4 月前
  • 活跃安装数量 10+
  • WordPress 版本 5.8 或更高版本
  • 已测试的最高版本为 6.9.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    avatarprofile pictureuploaduser profilewebp
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • amdevbro

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.