Sorry by option I meant extension. So you’re saying ImageMagick or IM is not to be confused with the PHP imagick extension. From what Ive read the Imagick native PHP extension uses the ImageMagick API, surely it does the same thing?
Kirby uses the ImageMagick binary via an exec() command. If the PHP imagick extension is installed, this won’t help you. So you need to have ImageMagick installed on your server.
When you say “you need to have ImageMagick installed on your server”, is this usually installed on VPS hosting?
Ive only generally used shared PHP hosting for Wordpress given the nature and size of projects I work on.
I asked tech support on the web host I generally use and their response was:
"It’s quite unusual that the software invokes a standalone binary from an exec() function, instead of using the official extension integrated into PHP.
There won’t be a way to install the imagick binary package on the shared cPanel Hosting servers, you would need a VPS to have your own isolated environment you can install those in."
Just as addendum: In Kirby 3.9.3 we updated the SimpleImage dependency to the latest version, which now supports AVIF. So if you update to 3.9.3 and then use the standard gd driver, AVIF will work.
So Ive checked and its enabled, even did a GD PHP dump and Avif support is true.
But I note in another post you said “Even if turned on by your provider, it still wouldn’t work because it is not supported by SimpleImage, the library used by Kirby’s GD driver”
Maybe I’m better off just using Webp as standard, the only thing for me is that when using the standard GD driver and webp, it compresses the .webp images so that they are almost unusable and this is with ‘quality’ => 90, in my config file.
Yes I get that, it works locally for me but when testing on a shared server, Kirby 3.9.3, PHP 8.1 with GD enabled and WebP support, Avif support true, its still loading the ‘avif’ images as jpg.
Ive cleared my cache etc
I dont mean to be difficult, so my apologies. Would love to get this, webp, avif image formats working on shared PHP hosting as that’s mostly what my clients have budgets for.