On an overview for all articles I only want to show the first image. <?= $articel->image() ?> It’s working but out of the box fetched by its filename I think.
In terms of performance, makes it sence to use the same loop but with ->first()? Or is there a better solution?
Well, both will return the first image that exists in the file system. Although $page->image() does not use $page->images() internally.
So $page->image() without an argument fetches the first image from the file system. However, you can also pass an argument to this method to fetch a particular file $page->image('my-beautiful-image.jpg').