getgrav / getgrav/grav-plugin-admin
[Suggestion] Crop / Resize field
- Dominant language
- PHP
- Stars
- 377
- Forks
- 225
- Avg merge
- 11h 51m
- Merged PRs (30d)
- 4
Description
Hi,
I wanted to share what I thought would make a good feature or a good plugin for admin.
I noticed I rely a lot on the cropZoom media manipulation, in order to have an image fit a box, without some white stripes on the side of the image. Problem is sometimes the main subject of the photo is out of the cropzoomed area.
I would therefore love to have something like an extended filepicker field where one could pick an image, and select the cropzoomed area.
The field definition could accept parameter to force an image ratio and with a preview, like in this example:

Or it could be a "free-form" resizing like in this example:

I did a few try in order to do it myself as a plugin, but I'm afraid it is beyond my php knowledge, so I'm leaving this here in case it has some interest for other plugin developers or for grav team, as I think it would be a very nice feature.
Thanks,
Paul
Contributor guide
Assessment
This issue has not been assessed yet.