I’ve been using your amazing plugin to cut images in half using the $image->focusCrop() method. It was working fine with GD, but after switching to IM, it doesn’t seem to work anymore. Anyone else experiencing the same issue?
Does it work with IM and the original crop() method instead of focusCrop()? Be aware that the third parameter differs and make sure the thumbs don’t exist already in your thumbs folder.
You may need to adjust the path to IM and make sure the input.png exists in the same folder. If it works (output.png is generated), the IM setup is ok.
I’m using your plugin on a soon to be released site. It’s a brilliant plugin in all its simplicity but with a lot of power. Our client loves being able to define focus point to the large hero images so the important parts of the image is always shown on desktop or mobile.
One of the best plugins for the Kirby ecosystem in my opinion.
For the record, I rarely use your plugin to crop the images to thumbs on the server. Instead I use your plugin to output the coordinates of the focus point for images used as a background image or an image with the object-fit: cover; css property.
I extended the Kirby IM driver and tried to keep it as close to the original as possible. But you should be able to override it and adjust it to your needs, I think.
Appart from the missing meta data file, it looks like custom file methods can’t be used for avatars. I did a quick test and it doesn’t work at all. Sorry.
I thought as much. To be honest avatars, traditionally, are just meant to be a small badge of a person or a logo. I think the author approach from the cookbook is probably the best solution.