-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
If a user avatar is requested of a size that Simple Local Avatars doesn't already know about, it'll instantiate a WP_Image_Editor instance, attempt to resize the image, save it to disk, and update the user meta value with the updated URL.
All of this should be unnecessary on an Altis site with Tachyon in use. The URL for any given avatar size should be provided by Tachyon with the appropriate URL query parameters for the request size.
Simple Local Avatars currently lacks the necessary filters to achieve this. I've opened a PR to add one to Simple Local Avatars.
I've opened this issue on this repo because it's the one that has 10up/simple-local-avatars as a dependency. The change itself should probably go into Tachyon.
Steps to reproduce
- Visit your user profile screen
- Upload an avatar
- Save your profile
- Reload the page
- Observe that a
{image}-52x52.jpgfile has been created and saved by Simple Local Avatar and used as your avatar image
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels