Image not found with 404

I used the following code to display some images, but images are not showing, in my inspect I got a bug, images were not found with error 404.

    <?php foreach ($page->children()->listed() as $blog): ?>
    <li>
      <a href="<?= $blog->url() ?>">
        <figure class="figure">
          <img src="<?= $blog->image()->url() ?>">
          <figcaption class="figure-caption text-right"><?= $blog->title() ?></figcaption>
        </figure>
      </a>
    </li>
    <?php endforeach ?>

and the error like this. Desktop-screenshot

Hey, welcome to the Kirby forum.

First of all, it is never a good idea, to call a method like url() without checking if the file/image exists.

But that doesnโ€™t seem to be the problem here. Is the image actually copied to the media folder? If not, is the media folder writable?