You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2021. It is now read-only.
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