vilaiporn LiteCart Fan De Thailand Miembro desde ago. 2017 vilaiporn 13 feb. 2024 04:51 Hello again, it does not work on 2.5.5. The image is not uploaded. Do you have a fix? Thank you
tim Founder De Sweden Miembro desde may. 2013 tim 13 feb. 2024 16:18 Any error message or warning? All working here with the latest for 2.5.x
vilaiporn LiteCart Fan De Thailand Miembro desde ago. 2017 vilaiporn 14 feb. 2024 02:22 Hello, no errors. Just does not upload.
tim Founder De Sweden Miembro desde may. 2013 tim 14 feb. 2024 17:35 Can't confirm a problem. Mine are uploaded :(
vilaiporn LiteCart Fan De Thailand Miembro desde ago. 2017 vilaiporn 15 feb. 2024 01:00 Hello, strange. Let me try again from several browser, eventually I will see which kind of error I will receive. I will let you know the results.
vilaiporn LiteCart Fan De Thailand Miembro desde ago. 2017 vilaiporn 17 feb. 2024 06:01 OK it works but only with .png I was trying with jpg. This the error: [17-Feb-2024 11:54:22 Asia/Bangkok] Warning: imagejpeg() expects parameter 3 to be integer, string given in ~/includes/entities/ent_image.inc.php (Line 821) ← ~/ext/trumbowyg/plugins/upload/trumbowyg.upload.php (Line 30) in write() Can be fix (not urgent)?
tim Founder De Sweden Miembro desde may. 2013 tim 17 feb. 2024 15:53 This could be PHP 8.2 strict variable types. Where '90' is not ok but 90 is. I can upload a fix for that later this day.
tim Founder De Sweden Miembro desde may. 2013 tim 17 feb. 2024 21:23 Here is a patch you can try. https://github.com/litecart/litecart/commit/376e3cbf9a756c060506147cc86a11ca066e29dd
vilaiporn LiteCart Fan De Thailand Miembro desde ago. 2017 vilaiporn 18 feb. 2024 03:37 With the patch it does upload jpg but in an extremely low quality (see attachment). The white column are part of the image, that is not an error.
tim Founder De Sweden Miembro desde may. 2013 tim 18 feb. 2024 20:31 Check image downsample size in Admin ->Settings -> Images or remove this code from trumbowyg.upload.php: list($width, $height) = explode(',', settings::get('image_downsample_size')); $image->resample($width, $height, 'FIT_ONLY_BIGGER'); }```
vilaiporn LiteCart Fan De Thailand Miembro desde ago. 2017 vilaiporn 21 feb. 2024 08:15 Still the same result if jpg
tim Founder De Sweden Miembro desde may. 2013 tim 21 feb. 2024 14:41 It works for me, I'm using GD2 too. What happens if you enable the Imagick PHP extension?
vilaiporn LiteCart Fan De Thailand Miembro desde ago. 2017 vilaiporn 27 feb. 2024 02:01 Great! It works! Thank you.