Integration with User Picture Field module

Created on 1 November 2016, about 8 years ago
Updated 2 February 2024, 11 months ago

Motivation

Hello, Hello

I want to use this module with Open Atrium which uses the User Picture Field module.

When using this module you can define a file field which handles the user picture.

Proposal

Image creation: If the defined picture field is empty we need to create an identicon image and save it to the field. Therefor we need to use hook_user_update because it is an ajax enabled field. When hook_user_presave is used you can unset the field value but the $edit variable isn't changed.

Image deletion: If the defined picture field is set we need to check if it's an identicon image. If this is FALSE the identicon image can be deleted.

Regards,
Leo

Feature request
Status

Closed: won't fix

Component

Code

Created by

🇩🇪Germany leo_g

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024