Issue with panel image pages on litespeed based hosting

Hi,

I cannot access panel image pages on my remote hosting (where you can normally adjust image focus point and edit metadata defined in field blueprint).

This is only happening with some extensions (.png and .jpeg), other file types work (.webp and .gif work for examples).

Everything works fine in local environment, the issue happens on a remote Hostinger server based on litespeed. I have no server error logs to provide.

The issue is still happening with the plainkit.

Accessing images directly works fine.

Visiting urls such as https://remoteurl.com/panel/pages/somepage/files/somefile.png returns “Invalid source image” on the webpage and a 422 Unprocessable Content error.

The 422 stops when I prevent such requests from reaching this point in the .htaccess (but I then get a 404) :
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]

Has anyone ever encounter such an issue with any hosting ? Thank’s in advance