Anyone managed to install ImageMagick with Linux, PHP Version 5.5.9-1ubuntu4.7 |
The following works fine:
PHP Code: $thumbnail = new Imagick($pix); Problem - cannot use CodeIgniter Image Library: The $config['library_path'] is incorrect. Tried the following without success: PHP Code: // PHP Version 5.5.9-1ubuntu4.7
04-18-2015, 08:58 AM
(This post was last modified: 04-19-2015, 11:26 AM by John_Betong. Edit Reason: spelling: not my fortay :( )
Cracked it although it maybe a KLUDGE?
what through me was the incorrect error message stating the image_library path was incorrect which I knew was OK so I investigated CodeIgniter 3.0-0 source files: File: ./CodeIgniinter 3.0-0/system/libraries/image_lib.php PHP Code: # Line: 887 I was wondering,am I the only one using the ImageMagick library because without this modification the incorrect error message is returned? Demo: http://www.johns-jokes.com/welcome?toggle
Without corrupted language file it's impossible that line was causing given error about incorrect path, because that message is returned on a line far above the one you modified. Also, it's failing because imagemagick returns error status code. You should properly debug this by seeing output of $output var.
(04-18-2015, 09:35 AM)gadelat Wrote: Without corrupted language file it's impossible that line was causing given error about incorrect path, because that message is returned on a line far above the one you modified. Also, it's failing because imagemagick returns error status code. You should properly debug this by seeing output of $output var. I had spent a long time trying to get ImageMagick to work. I think it was coincidental that the modifications I made managed to get the library to work. I have since removed the modification and the image library is now working fine. Mod: Please feel free to delete this thread. |
Welcome Guest, Not a member yet? Register Sign In |