Changes to Users module avatar image functionality:
use random string in avatar name, so the image names cannot be guessed ("1_dRe9IG.jpg" instead of "1_avatar.jpg") - a privacy feature
add new config options related to avatar placement and manipulation
add functionality to remove image without uploading a new one (via htmx ajax call)
delete old image when new is uploaded (now it does not work when images are in different formats)
Ensure avatars are deleted together with users (via users model beforeDelete event)
Resizing would make PHP GD extension a new requirement for Bonfire2 (I do not think that is ever an issue, but will need to be specified). In case I missed it and it is a possible issue, functionality could be hidden when GD extension is not detected.
Changes to Users module avatar image functionality:
Resizing would make PHP GD extension a new requirement for Bonfire2 (I do not think that is ever an issue, but will need to be specified). In case I missed it and it is a possible issue, functionality could be hidden when GD extension is not detected.