Ga naar de inhoud
WordPress.org

Nederlands

  • Thema’s
  • Plugins
  • Nieuws
    • Documentatie
    • Forums
  • Over
    • Vertaalproces
    • Stijlgids
    • Onze community
    • Meetups
    • WordCamps
  • Contact
  • WordPress downloaden
WordPress downloaden
WordPress.org

Plugin Directory

Avatarly – Custom User Avatars & Local Profile Pictures

  • Dien een plugin in
  • Mijn favorieten
  • Login
  • Dien een plugin in
  • Mijn favorieten
  • Login

Avatarly – Custom User Avatars & Local Profile Pictures

Door saumya010
Download
  • Details
  • Beoordelingen
  • Installatie
  • Ontwikkeling
Ondersteuning

Beschrijving

Avatarly adds a local, self-hosted avatar system to WordPress. Users can upload a profile picture directly on your site instead of relying on Gravatar, and site owners get full control over who’s allowed to upload, how avatars look, and where uploads are permitted.

Three ways to let users manage their avatar on the front end:

  • Shortcode — [avatarly]
  • Widget — add the “Avatarly (Legacy)” widget to any sidebar (classic, non-block themes)
  • Gutenberg block — search for “Avatarly” in the block inserter

Avatars can also always be managed from the standard WordPress Edit Profile screen.

Key features

  • Local avatar storage — no data sent to Gravatar unless you choose to keep it as a fallback.
  • Drag-and-drop / AJAX upload on the front end (progressively enhanced; falls back to a normal form for no-JS visitors).
  • Built-in crop and reposition popup: drag to pan and use the zoom slider to frame the shot before saving, or skip it to use the automatic center crop.
  • Strict upload validation: real MIME/extension checks, image verification, and file-size limits — not just a filename blacklist.
  • Automatic EXIF/GPS metadata stripping from uploaded images.
  • Fine-grained permissions: restrict uploads by capability and/or by specific roles.
  • A dedicated Styling tab: size, shape (circle/rounded/square), border, shadow, accent color, and button text.
  • Optional automatic cleanup of avatar files when a user account is deleted.
  • Translation ready.

Developer hooks

  • avatarly_avatar_size (filter) — change the avatar size used when generating a sized copy.
  • avatarly_avatar_data (filter) — filter the final avatar data array.
  • avatarly_avatar_html (filter) — filter the rendered <img> HTML.
  • avatarly_avatar_uploaded (action) — fires after a successful upload.
  • avatarly_avatar_deleted (action) — fires after an avatar is removed.

Schermafbeeldingen

Settings screen — General & Permissions tab.
Settings screen — General & Permissions tab.
Settings screen — Styling tab.
Settings screen — Styling tab.
Front-end avatar upload form (shortcode/widget/block).
Front-end avatar upload form (shortcode/widget/block).
Avatarly block in the editor.
Avatarly block in the editor.

Blokken

Deze plugin heeft 1 blok.

  • Avatarly Lets the logged-in user upload or remove their local avatar.

Installatie

  1. Upload the avatarly folder to /wp-content/plugins/, or install it through the Plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Visit Settings → Avatarly to configure permissions and styling.
  4. Add the [avatarly] shortcode to a page, add the “Avatarly (Legacy)” widget to a sidebar, or insert the “Avatarly” block wherever logged-in users need to manage their avatar.

FAQ

Is this a Gravatar alternative, or does it replace Gravatar entirely?

It works as a Gravatar alternative, but by default it layers on top rather than replacing it outright: if a user hasn’t uploaded a local avatar, WordPress falls back to Gravatar (or your configured default) as usual. You can disable that fallback in Settings → Avatarly → General & Permissions if you want local avatars only.

What image types are supported?

JPG, PNG, GIF, and WebP.

Can I choose which part of my photo is used?

Yes. When you select or drop an image, a crop popup lets you drag to reposition and zoom before saving. Selecting “Skip” uploads the image with an automatic center crop instead.

Can I restrict who is allowed to upload an avatar?

Yes. Under Settings → Avatarly → General & Permissions you can require the upload_files capability and/or restrict uploads to specific roles.

Where are avatar files stored?

In wp-content/uploads/avatarly/, following WordPress’s standard year/month upload structure.

I changed a styling setting but the site still looks the same

Styling settings take effect immediately — if a page still shows the old look after saving, a caching plugin (or your host) is likely serving a cached copy of that page from before the change. Clear that cache (or wait for it to expire) rather than re-saving the setting.

What happens to avatar files if I delete a user?

By default nothing is deleted automatically. You can enable automatic cleanup on user deletion in the General & Permissions tab.

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Avatarly – Custom User Avatars & Local Profile Pictures” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers
  • saumya010

Vertaal “Avatarly – Custom User Avatars & Local Profile Pictures” in je eigen taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

1.0.8

  • Shortened the readme’s short description — the previous one exceeded WordPress.org’s 150-character limit and was being truncated on import.

1.0.7

  • Updated the plugin title and descriptions for clarity — no functional changes.

1.0.6

  • Fixed the “Square” shape option silently ignoring the Corner Radius slider, so a square avatar could never actually show rounded corners. Removed the separate Shape setting — Corner Radius (0% = sharp square, 50% = full circle) now controls the shape on its own.
  • Added a note that styling changes take effect immediately, but a caching plugin or host-level page cache may still show an older cached version of a page until that cache is cleared.
  • Cleaned up alignment and spacing on the Settings screen so fields with multiple controls (e.g. Border width/style/color) line up consistently.

1.0.5

  • Fixed the Settings → Avatarly “Avatar size” option only resizing the avatar visually via CSS, without changing the actual image file served or its width/height attributes. This could make avatars look blurry or stretched at a larger size, since the smaller original file was being scaled up by the browser. Avatars now correctly generate and serve a real image file matching the configured size, everywhere they’re displayed.

1.0.4

  • Confirmed compatible with WordPress 7.1.

1.0.3

  • Fixed the admin “Edit User” profile screen (e.g. an administrator uploading an avatar for another user) not saving a newly-selected avatar at all: the selected filename showed correctly in the field, but the page reloaded with no changes and no error. WordPress core’s own user-profile form doesn’t set enctype="multipart/form-data", since core itself has no file upload there — without it, the browser can’t actually send file data on submit. The form now correctly includes this attribute so avatar uploads on that screen work as expected.

1.0.2

  • Security hardening: the avatar uploads subfolder now writes its own .htaccess/index.php to deny script execution as a defense-in-depth measure, and the upload/delete REST endpoints are now rate-limited per user.

1.0.1

  • Removed the Custom CSS settings field. Per WordPress.org plugin guidelines, plugins may not let users save arbitrary custom CSS/JS/PHP; all supported styling (size, shape, border, shadow, accent color) is already exposed as dedicated controls in Settings → Avatarly → Styling.

1.0.0

  • Initial release, including a crop/reposition popup (drag to pan, zoom slider, skippable) for the front-end upload flow.

Meta

  • Versie 1.0.8
  • Laatst geüpdatet 3 weken geleden
  • Actieve installaties Minder dan 10
  • WordPress versie 6.3 of nieuwer
  • Getest t/m 7.1.2
  • PHP versie 7.4 of nieuwer
  • Taal
    English (US)
  • Tags
    avatargravatarprofile pictureuploaduser profile
  • Geavanceerde weergave

Waarderingen

Er zijn nog geen beoordelingen ingediend.

Je beoordeling

Bekijk alle beoordelingen

Bijdragers

  • saumya010

Ondersteuning

Iets te melden? Hulp nodig?

Het supportforum bekijken

  • Over
  • Nieuws
  • Hosting
  • Privacy
  • Showcase
  • Thema's
  • Plugins
  • Patronen
  • Leren
  • Ondersteuning
  • Ontwikkelaars
  • WordPress.tv ↗
  • Raak betrokken
  • Evenementen
  • Doneren ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Nederlands

  • Bezoek ons X (voorheen Twitter) account
  • Bezoek ons Bluesky account
  • Bezoek ons Mastodon account
  • Bezoek ons Threads account
  • Onze Facebook pagina bezoeken
  • Bezoek ons Instagram account
  • Bezoek ons LinkedIn account
  • Bezoek ons TikTok account
  • Bezoek ons YouTube kanaal
  • Bezoek ons Tumblr account
Code is poëzie.
The WordPress® trademark is the intellectual property of the WordPress Foundation.