The standard library path in CMSMS for ImageMagic is set to /usr/bin/ImageMagick/. The only problem is, this path is not right for a Debian Server. Usually the convertion script for ImageMagic or GD is in an Debian Environment at /usr/bin/convert
But what ever I change the lib path to, the image tools will not work. Anybody has a small help here?
Image Manipulation in an Debian Environment: ImageMagick
Re: Image Manipulation in an Debian Environment: ImageMagick
strange, I run debian (sarge) servers and it works with default settings. maybe you dont have "php4-imagick - ImageMagick module for php4" installed?
Re: Image Manipulation in an Debian Environment: ImageMagick
I had issues with this as well on sarge. I ended up using netpbm (apt-get install netpbm) and setting the path to /usr/bin. Worked right away.
-
Zappu
Re: Image Manipulation in an Debian Environment: ImageMagick
Strange - yes php4-imagick is installed - I also run a few other gallery scripts lile coppermine, which are working fine, with GD and/or ImageMagick (btw, GD2 is faster than ImageMagick)
With Netpbm it's working, but not the automated thumbcreation nor the tag for imagegallery.
thx for the help
With Netpbm it's working, but not the automated thumbcreation nor the tag for imagegallery.
thx for the help
Re: Image Manipulation in an Debian Environment: ImageMagick
Damn.. I searched for hours, and answer is in your questionZappu wrote: The standard library path in CMSMS for ImageMagic is set to /usr/bin/ImageMagick/. The only problem is, this path is not right for a Debian Server. Usually the convertion script for ImageMagic or GD is in an Debian Environment at /usr/bin/convert
Code: Select all
$config['image_transform_lib_path'] = '/usr/bin/';So,
- on a Debian Sarge stable 3.1, you need ton install packages ImageMagick and php4-imagick
Code: Select all
apt-get install imagemagickCode: Select all
apt-get install php4-imagickCode: Select all
/etc/init.d/apache2 reload- that's it.
(to find all files and the right path I wrote: dpkg -L imagemagick )
- extract of my CMSMS config file:
/* Possible values: 'GD', 'IM', or 'NetPBM'
The image manipulation library to use, either GD or ImageMagick or NetPBM.
If you have safe mode ON, or don't have the binaries to other packages,
your choice is 'GD' only. Other packages require Safe Mode to be off.
*/
$config['image_manipulation_prog'] = 'IM';
$config['image_transform_lib_path'] = '/usr/bin/';

