All the images on my site use the same config set up:
'thumbs' => [
'presets' => [
'avif' => ['width' => 788, 'height' => 788, 'quality' => 60, 'format' => 'avif'],
'webp' => ['width' => 788, 'height' => 788, 'quality' => 80, 'format' => 'webp'],
'default' => ['width' => 788, 'height' => 788, 'quality' => 80],
]
]
<picture>
<source
srcset="<?= $image->thumb('avif')->url() ?>"
type="image/avif">
<source
srcset="<?= $image->thumb('webp')->url() ?>"
type="image/webp">
<img
src="<?= $image->thumb()->url() ?>"
alt="<?= $image->alt() ?>"
width="788"
height="788"
loading="lazy">
</picture>
On launching the site I used the Total Validator app to create the generation of all the image in the Media folder. I check the Media folder and every image had three versions AVIF WEBP and JPEG resized to 788 and the appropriate quality. So all good.
However, I looked at the Media folder half-an-hour later, and most images now have a fourth version: a JPG resized to 1408px.
I don’t know why this version is being generated. I’ve done a search for “1408” across my site. The only mention is in a file here:
/kirby/src/Panel/Model.php
regarding sizes for panel cards and card lets, so this should not be the issue.
Any ideas why these jpg images are being created and resized?