Hi all - I’m having trouble cropping images that use kirby’s basic srcset feature (below copied from docs which is my test code)
<?php if ($image = $page->image()): ?>
<img
alt="<?= $image->alt()?>"
class="lazyload"
data-sizes="auto"
data-src="<?= $image->resize(1280)->url() ?>"
data-srcset="<?= $image->srcset([320, 640, 960, 1280, 1600, 1920]) ?>"
height="<?= $image->height() ?>"
width="<?= $image->width() ?>"
>
<?php endif ?>
Can anyone point me in the direction of some docs for this as I can’t find anything. Thanks!