mullema / k3-image-clip

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

Error in Kirby 3.8: GdLib::resize needs to have the same method signature #27

Closed seehat closed 1 year ago

seehat commented 1 year ago

Add return type : SimpleImage in this line https://github.com/mullema/k3-image-clip/blob/e5f73c1a5690958f2f0541e419b27b20b9ffb42b/classes/GdLib.php#L10

that it looks like this:

protected function resize(SimpleImage $image, array $options): SimpleImage