Skip to main content

Avatar Edit

Avatar Edit

Renders a trigger element that opens a popup where the currently logged-in user uploads, crops, rates, and confirms a new profile picture.

Requires Simple Local Avatars

Avatars are stored through the free Simple Local Avatars plugin, which must be installed and active.

Avatar Edit module in Beaver Builder with the settings panel open

Usage

Account page avatar control — Place next to the Profile Edit Form with the trigger set to Image Button and the image connected to User Picture: users see their current avatar and a "Change photo" button.

Minimal inline control — Set the trigger to a small Icon (for example a pencil) overlaid on a profile layout where space is tight.

How it works

SituationBehaviour
User confirms an uploadThe cropped image is saved to the media library as a PNG and set as the user's avatar via Simple Local Avatars.
User had a previously uploaded avatarThe old image is deleted and replaced.
A rating is selected or a default rating is setThe rating is stored with the avatar (G, PG, R, or X).
Rating checkbox mode, box uncheckedThe upload is blocked until the user confirms the checkbox.

Settings

Display Modal On

SettingDescription
Custom Title / TagOptional heading rendered above the trigger.
Display Modal OnThe trigger type: Icon, Image, Text, Button, Image Icon, Image Text, or Image Button.
AlignmentTrigger alignment.
IconIcon choice, size, color, and hover color (icon triggers).
ImageThe image, crop shape, where the companion icon/text/button sits (below, on photo, on photo hover), and an optional blur when overlaid (image triggers). Connect the image to User Picture to show the current avatar.
TextTrigger text with color, hover color, and typography (text triggers).
ButtonFull button styling: text, icon, border, colors, width, and typography (button triggers).

Modal Settings

SettingDescription
TitleThe popup title, its alignment and padding.
SubtitleThe per-screen subtitles ("01. Upload", "02. Crop / Preview", "03. Rating / Result") and their styling.
Image Rating - Screen 3Rating selection mode (dropdown, checkbox, or none), the default rating, and the checkbox text.
Modal ButtonsLabels and colors for the Prev, Next, and Upload buttons, corner rounding, and padding.
Modal Popup SettingPopup width and height, background color, content padding, and whether ESC or an overlay click closes it.

Modal Typography

SettingDescription
Modal Title / Subtitle / Rating / ButtonTag selection, font settings, and colors for each popup text element.

Notes

info

Uploaded avatars replace the user's previous Beaver Profile Builder upload. Users manage one current avatar, not a gallery.