hashtagerrors / user-initials-photo
A plugin to assign profile picture of user with their name initials.
Installs: 8 545
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 3
Type:craft-plugin
Requires
- craftcms/cms: ^3.0.0
This package is auto-updated.
Last update: 2023-02-06 07:23:21 UTC
README
A plugin to assign profile picture of user with their name initials.
Image via [https://ui-avatars.com]
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require hashtagerrors/user-initials-photo
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for User Initials Photo.
User Initials Photo Overview
This plugins automatically assign a user photo with their initials, when they are registered. The image is generated from UI Avatars. The initials generated in the photo are in following priority:
- Firstname Lastname
- Firstname
- Lastname
- Username
Whichever found first will be used as the initials.
Using User Initials Photo
To use the plugin make sure a volume is assigned in User Photo Location
in your User Settings.
By default the plugin assings Photos to new user only. To assign photos to old users too, uncheck Assign Images to New User Only
in Plugin Setting page.
To assign photos to all Users at once, Go to plugin section page and click Assign
.
NOTE: If you are updating plugin from v1.0.0
to v1.1.0
or above you must have to do a composer remove hashtagerrors/hashtagerror/user-initials-photo
and then composer require hashtagerror/user-initials-photo
to get plugin setting and section page.
User Initials Photo Roadmap
While there is not a lot to do in this plugin, but new ideas are always welcome. You can post your idea or request here
Loved It?
Show your Love and Support by buying me a cup of Coffee !
Brought to you by Hashtag Errors