With this plugin for Kirby 2 you can prevent the most important part of an image from being cropped when creating automated thumbs.
The plugin does two things:
It provides a custom field that allows you to set a focus point. The focus point is saved to the meta data file.
It provides a new methodfocusCrop(), which uses the focus point saved in the meta data file to crop an image in such a way that the focus point is in the center of the cropped image – or (if that's not possible) at least isn't cropped.
Url: https://github.com/flokosiol/kirby-focus/tree/kirby-2
Information
With this plugin for Kirby 2 you can prevent the most important part of an image from being cropped when creating automated thumbs.
The plugin does two things:
focusCrop()
, which uses the focus point saved in the meta data file to crop an image in such a way that the focus point is in the center of the cropped image – or (if that's not possible) at least isn't cropped.Screenshot