Hello,
Please how could I select an image from its name and allows multiple extentions. I already saw it somewhere (I think in the forum) but impossible to find the post.
<?php if($image = $page->image('icon.svg or png or jpg')): ?>
<img class="icon" src="<?php echo $image->url() ?>" alt="">
<?php endif ?>
Thank you.