I’m developing on my local environment using MAMP Pro and everything works as expected. As soon as I deploy via git to a host for a quick test, images in the frontend don’t load (
img src(unknown)). As I checked in the panel I’ve found in the files template page “Invalid field type (“imagecrop”)”.
I’m using this plugin: https://github.com/steirico/kirby-plugin-image-crop-field which this is related to. This is how my blueprint looks like:
fields: description: label: Beschreibung type: text crop: label: Zuschneiden type: imagecrop minSize: width: 50 height: 50 preserveAspectRatio: true
So I’ve checked various things:
- I’ve deleted the contents of the site/session folder, without luck.
- content folder was set to 755, changed to 644, no luck either.
- updated to the latest Kirby version (3.3.3), no luck.
Then I deleted everything on the host and uploaded / deployed via FTP, obviously without .git folder. And it worked!
Can anyone explain to me what I have missed? I’ve previously deployed via GitHub and it usually worked. This is the first time using a plugin I think, but that can’t be it?