Opened 13 years ago
Closed 7 years ago
#3793 closed enhancement (maybelater)
Smarter avatar crop defaults
Reported by: | boonebgorges | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | Priority: | minor | |
Severity: | minor | Version: | |
Component: | Core | Keywords: | needs-patch, trac-tidy-2018 |
Cc: |
Description
The crop handling functions don't have very smart defaults. They should be able to detect the actual width and height of the passed image, and try to do a centered, maximum size crop based on that info. (I have to write this manually for every project where I want some cropping to happen automatically.)
Change History (4)
This ticket was mentioned in Slack in #buddypress by tw2113. View the logs.
8 years ago
#3
@
7 years ago
- Keywords trac-tidy-2018 added
We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.
Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.
If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.
For more information, see https://bpdevel.wordpress.com/2018/01/21/our-awaiting-contributions-milestone-contains/
or find us on Slack, in the #buddypress channel: https://make.wordpress.org/chat/
I guess we could improve
bp_attachments_create_item_type()
with a new parameter to center the crop ?