-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to crop images before setting as avatar #65
Comments
I have no idea how the core crop workflow works with headers and icons but sure, seems reasonable to try to reuse that :) |
I am not sure what is the correct approach for making the crop feature work, but I have tried to implement the image crop feature following this stack overflow thread - https://wordpress.stackexchange.com/questions/281760/using-media-uploader-to-select-image-of-specific-size-enforce-cropper/302962#302962 WIP Feature - https://share.getcloudapp.com/eDuR5Qjo [This is still not the correct way to do it] Also, can't we just use the native WP crop feature something like this - https://share.getcloudapp.com/5zuNLZAp |
The user should be guided through the crop process - it is okay to me to have it be in the media modal, but it needs to be square only and enforce cropping after selection even if it's already a square image. The site icon in the customizer works this way and seems mostly ideal to me, or any number of avatar uploads around the web can serve as inspiration. |
Is your enhancement related to a problem? Please describe.
Originally reported on WordPress.org support forum:
Describe the solution you'd like
Follow the core flow of supporting crop when selecting an image for an avatar.
Designs
n/a
Describe alternatives you've considered
none
Additional context
n/a
The text was updated successfully, but these errors were encountered: