![]() |
|
ImageMagick checked, but not showing. - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: ImageMagick checked, but not showing. (/thread-11583.html) |
ImageMagick checked, but not showing. - Ipstenu - 2014-01-17 Today I noticed this:
Graphics support: PHP GD library bundled (2.1.0 compatible) Well that's funny, I thought I checked ImageMagick. Went to the page, yes it was checked. But it clearly wasn't being detected. phpinfo showed it, checked that WordPress was able to use it (yep), but not ZenPhoto. Thinking back, I determined the LAST time I knew it had worked was before I upgraded PHP to 5.4.23. So since 5.4.24 was out, for CentOS, I upgraded to that. Ripped out ImageMagick, reinstalled it and Imagick, again they still show on phpinfo AND work with WP (sorry, it's the only other thing I know of to test with right now). 'identify -version' shows the correct settings. Zenphoto version 1.4.5.8 Other than downgrading PHP (which I'm not really chuffed about trying), is there another way to see why ZenPhoto would allow me to check the box, but not actually be using it. If ImageMagick really was broken, why would it work in other places? Installed this: http://stackoverflow.com/a/11538932/894076 here: http://jorjafox.net/test/image.php Also my 'test' on WP was to use this: https://github.com/markoheijnen/Debug-Image-editors Which shows the images as expected, and then says "WP_Image_Editor_Imagick" is my current image editor. Which implies it IS installed just fine, thank you Suggestions welcome! ImageMagick checked, but not showing. - kagutsuchi - 2014-01-17 Without being able to reproduce this issue myself, I noticed that all of the tests you ran were for the ImageMagick executable, not the Imagick PHP extension. The last time I took a look at it, the WordPress extension to use Imagick/ImageMagick will fall back on the ImageMagick executable directly if Imagick is unavailable. So the WordPress extension will work as long as ImageMagick is correctly installed and accessible on your system. You do say that Imagick shows up in If you feel up to debugging the issue yourself, here's a quick rundown of the order for how the graphics library is loaded (for what's currently in the
The check for if Imagick is present is done in ImageMagick checked, but not showing. - Ipstenu - 2014-01-17 Quote:You do say that Imagick shows up in phpinfo, but it might be worth double-checking that it's actually loaded at ZenPhoto's run time. I don't know how to see IF it loaded.
It's stripped down to JUST the check, and then the foreach, and then I dumped out the array to see what I got.
http://jorjafox.net/test/test2.php is that page. Is it possible the RC is throwing this off? ImageMagick checked, but not showing. - acrylian - 2014-01-17 For unknown reasons my host offers Imagick only on Php 5.2 but not on 5.3 and 5.4… ImageMagick checked, but not showing. - Ipstenu - 2014-01-17 I installed it with the pecl on my VPS (last I checked, you had to use the RC on CentOS 6). ImageMagick checked, but not showing. - Ipstenu - 2014-01-17 OH! lib-Imagick.php line 91
And by 'worked' what I mean is it showed me both the right display on admin AND it processed the image properly so I know it's working and not lying to me. I searched the DB for 'use_imagick' and instead? Found freakin I brute forced that back to lower cases and NOW IT WORKS. So ...
ImageMagick checked, but not showing. - kagutsuchi - 2014-01-17 How strange. The option used to use uppercase (many versions ago), I think. My guess is that since your DB uses (I haven't looked at the code, but this is just a guess.) ImageMagick checked, but not showing. - Ipstenu - 2014-01-17 That sounds about right, kagutsuchi (I've had this install for a million years ). Whew. So much happier now. |