
JPG images don't load, but webp images do
Hi Team!
I updated UNA to version 14.0.0, after which I can only include .webp images in my posts, but I can't create posts, statuses, or threads with .jpg or .png images.
Reviewing the generated codes, they look like this:
<p><img src="my_url/s/sys_images_editor/image_name.webp"></p>
<p><img src="my_url/image_transcoder.php?o=sys_images_editor&h=331&dpx=1&t=1747172358"></p>
Is there a known issue that could cause this?
When I perform a server audit, the results are shown in the attached image, with a single observation about
deflate_module - FAIL
although this has never caused me any problems before (I understand it's necessary for server performance, and that it doesn't limit the ability to publish images of one type and not another).
I understand the question lies in image_transcoder.php or some other service related to it.
PS: All tables and columns have utf8mb4_unicode_ci collation.
Thank you very much!
Have a nice day.
Plácido
-
- · PLuna
- ·
PS: I read this thread https://unacms.com/i/cant-upload-images and the fileinfo and exif extensions are enabled, but jpg and png images still won't load (although I have no issues with webp images).
The problems also occur when generating user profile images, article headers, and attached images.
-
- · Romulus
- ·
php -version ?
-
- · PLuna
- ·
Hi @Romulus
The PHP version was 8.2. For some reason, I assume due to changes in the hosting provider's policies, I found it had been reverted to 8.1 with the changes that this entails.
Finally, last night, I reverted the version to 8.2 with the required extensions and options, according to the UNA documentation (https://unacms.com/wiki/Requirements).
Once the changes were made, I cleared the data stored in the browsers, and the issues seem to have been resolved for a few hours now.
I think we can close this thread.
Thank you @Romulus, to you and the community.
-
- · Romulus
-
·
In reply to PLuna
P
- ·
You can use my script for any php version you need in debian 12 https://github.com/kabballa/PHP-UNA
-
- · PLuna
-
·
In reply to Romulus
- ·
Thanks @Romulus, that's a nice project!