On my local set up, I visited the homepage and some of the images are not displaying. I then deleted the media folder and cleared my browser history, but the images are still not displaying. The images are in my home content folder. On first glance, other pages and images display fine.
My backup is also displaying fine. Why would the images in my home contents folder not display? These images are also not appearing in the media folder.
An example. Code from home.php template:
<img src="<?= url('/home/example.svg') ?>">
Is this because I forgot to delete the Media folder before looking at the homepage? Or in Kirby 5 can we not use the title ‘home’?
Hey,
I am running into a similar issue after upgrading from 4.8 to 5.0.
All content images in frontend are broken but panel displays fine.
For example I am trying to display an image from a defined news blueprint.
In v4 and v5 this returns a filepath relative to “media/pages/” but displays the images only in v4:
<img src="/<?= $page->imagenews()->toFiles() ?>">
According to the docs I changed to the following, which returns some kind of identifier like “file://850teZN2yZme1qrz“. This version is not displaying the image in v4 and v5: