<?php if ( $image = $page->image()): ?>
<img src="<?= $image->url() ?>" class="img-fluid">
<?php endif ?>
With $page->image()
you fetch the first image in the current page folder. We wrap the code in an if statement to make sure we have an image before outputting the img tag and calling the url() method.