I see. Slowly getting there - much to read, much to learn. Especially when to use which method.
How can I iterate on the way to show the cover on the frontend view of the parent “productions” page? I can use the generic image check and get the first image, but I really like to check for & show the image with the “cover” template…
<?php foreach ($page->children()->listed() as $item): ?>
<a href="<?= $item->url() ?>"><?= $item->title() ?>
<?php if ($image = $item->images->findBy('template','cover')): ?>
<img src="<?= $item->image()->url() ?>" alt="<?= $item->image()->alt() ?>">
<?php endif ?>
</a>
<?php endforeach ?>
Appreciate the help immensely!