it’s not much but it’s something: For a very image-heavy site, I needed a quick way to save some extra KB (besides lazyloading), and despite not overly amazing browser support, I gave the ol’ WebP image format a spin (75% globally, mostly Chrome, but still).
I wanted a solution my client would feel comfortable with, and after discussing quality and the likes, I decided to write something quick-and-dirty: kirby-webp was born, generating .webp images alongside your uploaded PNG & JPG ones - so you don’t have to!
Check it out, feedback welcome as always. There are some options to play with (docs coming soon), and I will give it some love whenever I find the time, until then
I download the zip on github, unzip and put in the plugins folder.
Adding the line in config.php.
Upload a jpeg and check the folder, I found my jpeg but no webp — it’s my first step with Kirby.
How to know what is wrong, how to debug ?