Configuring Custom User Avatars¶
The extension has no settings. The Extension Settings section on its edit page is empty, and the only switch is Enabled.
There are no permissions or roles either: every logged-in user can upload an avatar for their own account.
Fixed values¶
These values are set in the code and cannot be changed in the admin area.
| Item | Value |
|---|---|
| Maximum file size | 2048 KB (2 MB) |
| Accepted files | Image files. The file picker offers PNG, JPG and WebP. |
| Storage disk | public (storage/app/public) |
| File path | avatars/user-<user id>/avatar.<file extension> |
| Upload route | POST /account/avatar (route name user-avatars.upload), logged-in users only |
| Saved data | One row per user in Paymenter's properties table: key profile_avatar_path, name Profile Avatar, value is the file path |
Default avatar¶
Users without an uploaded picture keep Paymenter's own avatar, which is a Gravatar image. The fallback image for users without a Gravatar is controlled by Paymenter's Gravatar Default setting, not by this extension.