strangerstudios / basic-user-avatars

Add an avatar upload field on frontend pages and on the Edit Profile screen so users and admins can manage custom profile pictures without Gravatar.
https://wordpress.org/plugins/basic-user-avatars/
39 stars 34 forks source link

Add default avatar option #70

Closed michaelbeil closed 1 year ago

michaelbeil commented 1 year ago

Is your feature request related to a problem? Please describe. It would be helpful to generate a default avatar option (.org request).

I’ve been using Avatar Privacy to handle my local avatars and improve the load time from the many Gravatar connection requests.

It lacks the ability to let users upload avatars from the front end like say from the My Account page of Woocommerce Memberships.

One feature I do like however is that it generate different types of avatar family packs to make the local default set avatars more interesting, I presently use the “Rings” generated avatar pack which makes the website feel more dynamic when users haven’t set an avatar.

Is it possible to add something similar to this plugin?

Describe the solution you'd like Add a feature to do this.

Describe alternatives you've considered You should be able to use this filter with some other code to adjust the default image programmatically: https://github.com/strangerstudios/Basic-User-Avatars/blob/master/init.php#L233

andrewlimaza commented 1 year ago

Here's a snippet - https://gist.github.com/andrewlimaza/f696ee7b8727f07ca1f473a0096a87a9