mullema / k3-image-clip

Visually crop images with a handy image editor directly inside the panel
MIT License
40 stars 4 forks source link

Problem when using field in the site blueprint #15

Closed lumpysimon closed 3 years ago

lumpysimon commented 3 years ago

If I add an image-clip field to the site.yml blueprint the cropped image does not update. This is similar to https://github.com/mullema/k3-image-clip/issues/14 except the request in this case is returning a 404 error as it's looking for a non-existent file in the media folder.

The file being requested is https://simon.test/sites/simon/media/pages/home/89ea76900d-0/fuj1234-simon-1408x-clip443x442-373x668.jpg, the correct path should be https://simon.test/sites/simon/media/site/...

Screenshot 2021-02-19 at 12 34 45
mullema commented 3 years ago

What Kirby and Plugin Version are you using?

lumpysimon commented 3 years ago

Kirby 3.5.3 Image Clip: I've installed the plugin as a git submodule, so it's the latest version of the master branch