Good afternoon!
Played around with .webp images and wanted to replace my .jpg’s.
I’ve seen that there are plugins for Kirby which convert your images to WEBP, but I don’t want to use a plugin.
And I didn’t get the thumb
method to work either. Do I have to install or configure something?
<?= $page->header_image()->thumb(['format' => 'webp'])->toFile()->url() ?>
If possible, I’d want to upload .webp images directly from the panel, but I am getting this error message:
I tried with and without the extension
setting:
header_image:
type: files
label: Headerbild
layout: cards
accept:
extension: jpg, png, jpeg, webp
I’m on Kirby 3.6.0 Beta 3 using XAMPP and PHP 8.
Thanks!