Exclude first image

Hi folks - is it possible to exclude the first image / file when using:

<?php foreach($page->images()->sortBy('sort', 'asc') as $image): ?>

I can exclude a specific image by title using:

<?php foreach($page->images()->not('image-title.jpg')->sortBy('sort', 'asc') as $image): ?>

but I would like it to be the first image in the listed files.

… Just started out with Kirby but Its pretty amazing CMS.


You can use the offset method with a value of 1.

1 Like

Painfully simple - I missed that off the cheatsheet. Thanks