coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: studiodart on March 25, 2005, 03:03:26 PM

Title: Imagemagick
Post by: studiodart on March 25, 2005, 03:03:26 PM
Hi

How do i confirm that imagemagick is available / working @ isp? Can't rotate / resize pictures, when upload no thumbnails are created

Thx
Title: Re: Imagemagick
Post by: technogecko on March 28, 2005, 05:06:29 AM
If you have shell access you can issue 'whereis convert' and try executing it. It should display the version as well, similiar to this:



[root@serverbox]# whereis convert
convert: /usr/bin/convert /usr/local/bin/convert /usr/share/man/man1/convert.1.gz

[root@serverbox]# /usr/local/bin/convert
Version: ImageMagick 6.2.1 03/27/05 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC



Title: Re: Imagemagick
Post by: andyb on March 30, 2005, 09:45:09 AM
I have ImageMagick (6.0.0) installed on my machine. When i put in the path for it it doesnt help at all. I have ImageMagick selected from the pulldown menue in the config and the permissions on it are fine. Here is what i get when i click on that picture that takes the place of a picture that isnt there (if you know what i mean).
Error executing ImageMagick - Return value: 127

Cmd line :
/usr/loca/bin/convert -quality 80 -antialias -geometry 133x100 'albums/test/somethingblue.jpg' 'albums/test/thumb_somethingblue.jpg'


The convert program said:


First i thought this might have something to do with a chroot() jail, but i tried moving it to /var/www (inside the jail) and still no go. I checked the permissions on that one too. Whewn i enter that same command manually into a terminal it works fine. I am able to upload images manually this way but its a pain in the back.
Title: Re: Imagemagick
Post by: Nibbler on March 30, 2005, 12:12:34 PM
You spelled 'local' wrong.
Title: Re: Imagemagick
Post by: andyb on March 30, 2005, 11:59:11 PM
Like Ii said i had tried moving it different places and using that path too, which didn't work, so I figured it wasn't the spelling.. I corrected the spelling and that was not the problem.