I cannot get my image in directory loaded. I am putting the images directly in sub-folders. Here is my code:
<?php foreach ($page->children() as $project): ?> <li>
<a href="<?= $project->url() ?>">
<?= $project->images()->crop(400, 300) ?>
<?= $project->title() ?>
</a>
</li>
<?php endforeach ?>
I am using gulp to build php server und compile sass. The error says:
[404]: GET /media/pages/home/project-03/1111197286-1585547952/adam-birkett-qrwadbcqysc-unsplash-400x300.jpg - No such file or directory