$page->images() Filters the Files collection by type image kirby/src/Cms/HasFiles.php#L163 $page->images(): Kirby\Cms\Files Return type Kirby\Cms\Files Parent class Kirby\Cms\Page Example <section class="gallery"> <?php foreach($page->images() as $image): ?> <figure> <a href="<?= $image->url() ?>"> <img src="<?= $image->url() ?>" alt=""> </a> </figure> <?php endforeach ?> </section>