steirico / kirby-plugin-image-crop-field

Kirby image crop field based on vue-cropperjs and gumlet/php-image-resize
MIT License
15 stars 3 forks source link

Can’t delete an entry after i cropped the image in kirby 3.7 #40

Open ggttdesign opened 2 years ago

ggttdesign commented 2 years ago

Thanks for the great plugin. It is really very helpful. I would also like to support your work financially, is there a way?

Unfortunately, there is the problem that as soon as I have cropped an image, the entry can no longer be deleted. If I do not crop the image, the entry can be deleted. The error message that appears is very cryptic:

Bildschirmfoto 2022-09-01 um 18 24 53

What could be the reason for this? Could it also be problems with the server?

Daandelange commented 1 year ago

Hello, Replying to your question here. I'm not sure your issue is corrected in my fork but there's a chance. It works fine on my side, but I'm not using the ->croppedImage() function...

Note that I haven't uploaded the production build, so you probably need to compile it before. When the panel shows such errors, there's mostly some more info in the console, isn't there ?