I added support for aspect ratio crop that has been useful in my use cases.
It's similar to minimum dimensions but instead of a specific pixel number like 1280x720, you can enter an aspect ratio like 16:9. This is useful in srcset / responsive image implementations where you care more about the aspect ratio than the exact pixel count of the image.
Do you think this would be a good addition the project?
If you don't think it will be appropriate in the scope of the project, I'll be happy to create my own fork instead.
Since this was not merged in 6 months, I went ahead and created my own image crop plugin for ACF on w.org which crops to a aspect ratio instead of pixel value.
I added support for aspect ratio crop that has been useful in my use cases.
It's similar to minimum dimensions but instead of a specific pixel number like 1280x720, you can enter an aspect ratio like 16:9. This is useful in srcset / responsive image implementations where you care more about the aspect ratio than the exact pixel count of the image.
Do you think this would be a good addition the project?
If you don't think it will be appropriate in the scope of the project, I'll be happy to create my own fork instead.
Thanks.