Closed qroac closed 5 years ago
That‘s a really good idea. I will have a look at it.
It may be that we can‘t reuse existing thumb presets, but need to set new ones for focusCrop
. But this would still be useful, I think.
It took some time, but I finally implemented presets. @theWeird, would be awesome if you could check out the presets-branch and test the new feature. Thanks in advance!
Please find the documentation here:
https://github.com/flokosiol/kirby-focus/tree/feature/presets#presets
Instead of defining image options on every use, can this plugin work with default/named presets from the sites config.php?
https://getkirby.com/docs/reference/system/options/thumbs
For Thumbnail definitions used in several places of the page it would be great to call the method with the name of a preset or without any parameter for default preset.