vilaiporn LiteCart Fan Alates Thailand Liige alates vilaiporn 13 veebr 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 Alates Sweden Liige alates tim 13 veebr 2024 16:18 Any error message or warning? All working here with the latest for 2.5.x
vilaiporn LiteCart Fan Alates Thailand Liige alates vilaiporn 14 veebr 2024 02:22 Hello, no errors. Just does not upload.
tim Founder Alates Sweden Liige alates tim 14 veebr 2024 17:35 Can't confirm a problem. Mine are uploaded :(
vilaiporn LiteCart Fan Alates Thailand Liige alates vilaiporn 15 veebr 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 Alates Thailand Liige alates vilaiporn 17 veebr 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 Alates Sweden Liige alates tim 17 veebr 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 Alates Sweden Liige alates tim 17 veebr 2024 21:23 Here is a patch you can try. https://github.com/litecart/litecart/commit/376e3cbf9a756c060506147cc86a11ca066e29dd
vilaiporn LiteCart Fan Alates Thailand Liige alates vilaiporn 18 veebr 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 Alates Sweden Liige alates tim 18 veebr 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 Alates Thailand Liige alates vilaiporn 21 veebr 2024 08:15 Still the same result if jpg
tim Founder Alates Sweden Liige alates tim 21 veebr 2024 14:41 It works for me, I'm using GD2 too. What happens if you enable the Imagick PHP extension?
vilaiporn LiteCart Fan Alates Thailand Liige alates vilaiporn 27 veebr 2024 02:01 Great! It works! Thank you.