Auto Resize User Avatars in Database

My problem is this: Data dependent map icons image size

To solve this, I need a way to standardize the avatars (type: image) that users upload. After they upload the picture (or to somehow run an operation on the database), an icon of what they uploaded is needed, around 32x32, circular, and preferably with a border. Imgix option allows for the circle, but it does not automatically resize the uploaded image.

I am aware of croppie and a couple other plugins, which is what I am currently trying to implement.

Another option is to create a new entry for every user with their profile picture modified. Please let me know what the best (most performance-effective) option is. Thank you

1 Like

Hi,
Did you find a solution for this?