Opened 2 years ago
Last modified 8 months ago
#8737 new feature request
Put avatars in the database
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Contributions | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
The current buddypress handling of avatars in antiquated and does not allow the flexibility that will be needed going foward
Right now you can two sizes only. But avatars should be able to have multiple sizes in the same way that attachment images do and one should be able to register the various sizes. They should also support pixel density and be responsive so they need srcset.
Ideally you’d just crop a very large image into a square and it would generate a set of sizes for use in things like open graph or blocks
AFAICT this can only be achieved by putting avatars in the database.
I’ve not looked at the buddypress attachments api that is ongoing. Does this use a database table? If so the l maybe this could be piggy backed.