No images in starterkit or demokit

I am trying to test Kirby 5. A few months ago I tried out Kirby 4 and had no problem installing the starterkit. This time, for some reason images are not being displayed. I am getting a 404 error for all the images. I have checked all the obvious areas: GD is enabled on the server, and the file permissions seem to be correct. The media directory is created, and if I delete it, it is recreated when I reload the page. All of the subdirectories seem to be created and are populated with a .jobs directory. But no jpg files are created. I can’t find anything else in the forums that seems relevant. I’m running Apache with PHP 8.4. All the recommended PHP libraries are installed. Any suggestions for troubleshooting this?

Hi welcome to the community :slight_smile:

Is the hidden .htaccessfile in place?

Is this a custom made Apache server? Are you on linux or mac? What happens if you put <?php phpinfo(); ?> in the default or home template? Does the output say the modules are all good?

Is GD installed in a standard place? If not you may need to set the bin path for image driver in config.php

see here thumbs | Kirby CMS

Thanks very much for your help! The .htaccess file was in place, but that gave me a clue for what else to check. It turns out that mod_rewrite wasn’t enabled; I had rebuilt this server (a Raspberry Pi) since the last time I tried Kirby and I forgot to enable the rewrite module. I enabled it, added an appropriate AllowOverride directive, and everything is working. Thanks again!

1 Like