Unable to upload .png, but .jpg works fine

I installed 17.0 today (fresh installation) and I was unable to upload company logo, or any image. I first checked the file size, but 80k would be okay. I then tried uploading a .jpg instead of a .png, and it worked just fine. Same issue (without trying .jpg) I had on 16.0.

What could be the reason for this? I’d rather not limit myself to .jpg, since most of our pictures being used are .png.

Thank you in advance for your help.

Hello,
Are you getting an error message?
I have now tested with us and everything without problems

Yes, sorry, I’m getting an error 500 which would indicate a PHP issue. I’ve updated from 7.4 to 8.1, but no change. I assume there are no issues with file/dir rights, since .jpg works just fine.

Error 500 is a non-specific server error.

can you provide a log or more information on what OS the server is running on, appache, ngix, IIS…?

It seems to only happen to a specific very few pictures, and they’re all .png and all transparent. I don’t think this is a Doli issue at all. Thank you for you help!