外掛標籤
開發者團隊
原文外掛簡介
Real Simple Avatar lets your users upload a custom profile photo or pick from a set of preset avatars. If no avatar is set, a colourful initials avatar is generated automatically — keeping your site looking polished without any extra effort from your users.
Features
Shortcode [rsava_avatar_form] — place on any page or post so logged-in users can manage their avatar without going to the admin panel.
AJAX upload — avatar updates happen instantly, without a page reload.
Custom photo upload — users can upload their own image; it is cropped to a configurable square size (default 240 × 240 px). Only one file is stored in the Media Library per user (old file is deleted automatically on replacement or deletion).
Initials fallback — if no avatar is set, a colourful SVG avatar made from the user’s initials is shown everywhere WordPress displays an avatar.
Preset avatars — choose from built-in preset images or replace them entirely with your own set via the plugin settings.
Fine-grained settings:
Enable / disable custom photo upload in the shortcode.
Enable / disable the preset avatar grid in the shortcode.
Configure which image formats are accepted (PNG, JPG, JPEG, WebP, HEIC, HEIF, AVIF, GIF).
Set the maximum upload file size (MB).
Set the crop size in pixels (e.g. 240 for 240 × 240 px). Uploaded images are stored only at this size — no extra WordPress sub-sizes are generated.
Customise the background colours and text colour used for initials avatars.
Admin profile page — admins can upload or remove a user’s avatar directly from the Edit User screen.
Clean uninstall — optionally delete all plugin settings and uploaded avatar media files when the plugin is deleted.
Partial Russian translation included.
Real Simple Avatar — плагин для загрузки своего аватара. По умолчанию рандомный цвет + инициалы. А также на выбор готовые аватарки. При загрузке нового аватара медиафайл старого аватара удаляется.
Шорткод [rsava_avatar_form] для загрузки аватара.
Настройки плагина в Настройки → Аватар.
Можно самостоятельно выбрать рандомные цвета и цвет инициалов в аватарке.
Можно отключить загрузку аватара в шорткоде и оставить выбор только из готовых аватарок.
Можно отключить готовые аватарки в плагине и добавить свои. То есть сделать свой пресет аватарок.
В настройках можно ограничить до какого размера будут обрезаться аватарки. Например 240 × 240 px. Только этот размер медиафайла будет храниться в медиатеке.
При загрузке нового аватара или удалении аватара медиафайл прошлого аватара будет всегда удаляться. Таким образом ваша медиатека WordPress будет всегда в порядке и чистоте.
Compatibility
Tested with PHP 7.4, 8.0, 8.1, 8.2, 8.3. Tested with WordPress 5.0 – 6.9.4
License
This plugin is licensed under the GPLv2 or later.
