Skip to content
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

[Post Featured Image]: Allow cropping and/or constraining to a certain ratio #35524

Closed
kjellr opened this issue Oct 11, 2021 · 2 comments
Closed
Labels
[Block] Post Featured Image Affects the Post Featured Image Block [Type] Enhancement A suggestion for improvement.

Comments

@kjellr
Copy link
Contributor

kjellr commented Oct 11, 2021

Similar to #33789.

Alongside the featured image resizing controls, we should include the option to crop the featured image down to a specific image ratio. This could be a freeform crop control, or it could be just a set of options (1:1, 4:3, 16:9, etc.).

The user can of course enter absolute pixel sizes to do this sort of thing, but then the image won't scale responsively.


Example of all square images:

default

@kjellr kjellr added [Type] Enhancement A suggestion for improvement. [Block] Post Featured Image Affects the Post Featured Image Block labels Oct 11, 2021
@mtias
Copy link
Member

mtias commented Oct 11, 2021

An aspect-ratio control would make sense.

@scruffian
Copy link
Contributor

This is now possible, though we still need to add the aspect ratio controls. Let's close this in favour of #38990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Featured Image Affects the Post Featured Image Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants