Closed ulin-evgeny closed 12 months ago
phpThumb was written before PHP had native support for ImageMagick. It depends on passing commands to the external binary as configured: https://github.com/JamesHeinrich/phpThumb/blob/master/phpThumb.config.php.default#L116-L126
I have such code:
As a result of his work, I get a white picture with black letters "no GD":![image](https://github.com/JamesHeinrich/phpThumb/assets/13357847/dea0b76b-83d7-4be0-bc98-17115665425b)
I don't really have GD, but I do have Imagick. The README says that the library also works with Imagick:
I decided to check if Imagick works. I wrote this code:
I got "Success" and a processed file called photoRes.jpg appeared in the folder. That is, Imagick works. Why is phpThumb not working then? How to fix it?