Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
4.9 - Image branch?
I was trying out the 4.9 Image branch earlier today.
Accessing the Image – Edit panel is impossible, returns the following error (I have added a few line breaks for readability)
Fatal error: Uncaught ImagickException: NoDecodeDelegateForThisImageFormat `JPEG' @ error/constitute.c/ReadImage/737 in /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/Imagick/Decoder.php:25
Stack trace:
#0 /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/Imagick/Decoder.php(25): Imagick->readImage('/Users/is_username/S...')
#1 /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/AbstractDecoder.php(344): Intervention\Image\Imagick\Decoder->initFromPath('/Users/is_username/S...')
#2 /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/AbstractDriver.php(66): Intervention\Image\AbstractDecoder->init('/Users/is_username/S...')
#3 /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/ImageManager.php(54): Intervention\Image\AbstractDriver->init('/Users/is_username/S...')
#4 /Users/is_username/Sites/_txp-dev/textpattern/include/txp_image.php(659): Intervention\Image\ImageManager->make('/Users/is_username/S...')
#5 /Users/is_username/Sites/_txp-dev/textpattern/include/txp_image.php(112): ImagePanel->image_edit()
#6 /Users/is_username/Sites/_txp-dev/textpattern/include/txp_image.php(1533): ImagePanel->__construct()
#7 /Users/is_username/Sites/_txp-dev/textpattern/index.php(231): include('/Users/is_username/S...')
#8 {main} Next Intervention\Image\Exception\NotReadableException: Unable to read image from path (/Users/is_username/Sites/_txp-dev/images/3.jpg). in /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/Imagick/Decoder.php:29
Stack trace:
#0 /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/AbstractDecoder.php(344): Intervention\Image\Imagick\Decoder->initFromPath('/Users/is_username/S...')
#1 /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/AbstractDriver.php(66): Intervention\Image\AbstractDecoder->init('/Users/is_username/S...')
#2 /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/ImageManager.php(54): Intervention\Image\AbstractDriver->init('/Users/is_username/S...')
#3 /Users/is_username/Sites/_txp-dev/textpattern/include/txp_image.php(659): Intervention\Image\ImageManager->make('/Users/is_username/S...')
#4 /Users/is_username/Sites/_txp-dev/textpattern/include/txp_image.php(112): ImagePanel->image_edit()
#5 /Users/is_username/Sites/_txp-dev/textpattern/include/txp_image.php(1533): ImagePanel->__construct()
#6 /Users/is_username/Sites/_txp-dev/textpattern/index.php(231): include('/Users/is_username/S...')
#7 {main} thrown in /Users/is_username/Sites/_txp-dev/textpattern/vendors/intervention/image/src/Intervention/Image/Imagick/Decoder.php on line 29
Local host with PHP 8.1 and ImageMagick installed (correctly detected according to the Diagnostics panel).
Am I missing some component or do I need to add some configuration ?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: 4.9 - Image branch?
It does fail spectacularly if imagick isn’t available and I’ve not found a nice way to fallback yet, hence the stalled branch. But I’ve not seen that specific error message before. Hmmmm. I’ll have to investigate. Sorry for the false start.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: 4.9 - Image branch?
well, I’ll patiently wait for another day.
I have not much more to add to help, uploading images is still going fine. The 2 images I used are just plain landscape images, not too big jpegs (~1500px wide).
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Pages: 1