PNG files not showing in Panel preview

On my local MAMP server, when uploading png files via the file section there is no preview of the PNG file. Other image types work as normal.
When the website is on a live web server. Uploading a png works as normal and does show a preview of the file. Any idea what this might be?

1 Like

I’m having the same problem, same scenario, when uploading to a local build running via MAMP, .png previews seem to be broken.


Can you reproduce this in a fresh Starterkit as well with the same file?

Same problem here.
The PNG is uploaded but not converted to thumbnails. Original is accessible in frontend.

After I convert the image via cli:
$ magick badimage.png goodimage.png
it works.

Unforunately I cannot share the image, because it displays personal data of a customer. And I have no other broken image.

But a binary comparision of the two files shows that there is a snippet in the bad image that starts with
“Raw profile type xmp8…” (see screenshot)

This happens in my docker test environment as well on a MIttwald Server with PHP 8.2-latest FPM.
I am using Kirby 5.RC3

So basically the image is not perfect :wink:

PS: Tested in a fresh starterkit.

1 Like