I have recently initiated my initial projects with Kirby 4, and while everything appears to be functioning properly, I’ve encountered an issue. Specifically, there are no images visible in the panel (localhost) and the media folder. Despite reviewing several threads addressing similar topics, I have not been able to find a solution.
To provide a clearer breakdown:
Kirby 3 panel on localhost is functioning correctly .
Kirby 4 panel on localhost is not working as expected .
Kirby 4 panel on the online server is functioning correctly .
If you have any insights or solutions related to this matter, I would greatly appreciate your assistance.
You write that you started your first projects with Kirby 4.
But you mention that everything works with Kirby 3.
Have you updated an existing Kirby 3 installation?
But let’s find out a bit more to help you:
What local environment are you using?
Have you tried a fresh starterkit?
Have you deleted the media folder?
What plugins do you have installed?
Which PHP version is installed?
Are you using the standard GD or IM thumb driver?
What is displayed when you upload new images in the panel?
Have you made any custom settings in confiq.php?
Do you receive an error message, e.g. in the browser console?
Thank you for the detailed answer. That’s very helpful.
It’s great that you were able to find the cause.
However, I have noticed one more thing:
This file has no blueprint yet. You can define the setup in /site/blueprints/files/default.yml
Without an assigned blueprint, you will sooner or later run into problems. Either the images will not appear in the panel, or they will only be deleted from the panel, but not from the folder. If you upload an image with the same name, you will get an error message.