I know this method
<?php if ($page->extract()->isNotEmpty()): ?> <?php endif; ?>How to check if a page contains a photo, if so, display it:
<img src="<?= $page->image()->url() ?>" alt="Logo">
I would be very grateful for your help. Have a nice day!