I think this great module REALLY needs the option to scan the avatar_selection folder for images and make them available. It's incredibly tedious having to upload one....file....at....a....time.... ;)

In addition, would be nice to be able to make all avatars automatically limited to the selected roles in the config, which never sticks (the checkboxes don't stay checked, and if you check the roles, and upload a file, those roles don't carry over to the file.)

Sorry for the multiple items in the post...

Comments

stella’s picture

Assigned: Unassigned » stella
Category: feature » bug
Status: Active » Fixed

You don't have to use the upload form provided. You can just copy them into the avatar_selection directory in your drupal directory on the server. They will automatically appear for all users regardless of their role(s) as if you don't limit an image to a specific role(s) then it will appear for all roles.

There was a small issue with the limitation by role which has been fixed in the avatar_selection 5.x-2.1 release. There is still a problem with the checkboxes on the avatar edit form, but this is actually an issue with the drupal form api and not with the avatar selection module. See issue #149510. What this means is you can configure the roles for each avatar image and they will be applied. However, when you go to edit the roles again, the existing configuration isn't displayed in the form, but it does actually exist and is applied on the user edit form.

Cheers,
Stella

Steel Rat’s picture

Thanks Stella,

I originally tried just uploading a bunch of avatars into the Avatar_selection folder, but they did not show up in the selection page. Don't know if there's something else I need to do.

stella’s picture

I'd try it again and see. You may have had the wrong permissions on the files perhaps?

Steel Rat’s picture

Hmm, well now it seems to be working. Odd, definitely wasn't before.

Anyway, sorry for the false alarm!

stella’s picture

no worries. Glad it's working for you. There's still a problem deleting images, which has been opened in a different issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)