[ansel] More help with Ansel

John H. Bennett III bennettj at thebennetthome.com
Mon Jan 4 06:21:40 UTC 2010


Quoting "John H. Bennett III" <bennettj at thebennetthome.com>:

> The other thread was getting long, but my initial issue seems to  
> have  been solved.
>
> On Mike's advice, I installed ImageMagick, and added to horde's conf.php:
> $conf['image']['convert'] = '/usr/bin/convert';
>
> /usr/bin/convert  -version
> Version: ImageMagick 6.0.7 07/25/08 Q16 http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2004 ImageMagick Studio LLC
>
> Looking at Ansel's test.php file, it still shows:
> Imagick Library: No
> Ansel can make use of the Imagick Library, if it is installed on  
> your  system. It is highly recommended to use either ImageMagick's  
> convert  utility or the Imagick php library for faster results.
>
> Not sure why.
>
> I am also still having issues with showing the gallery thumbnails.
> I have been testing with IE8 and Firefox 3.5.6
> I am seeing errors like this in my messages log:
> Dec 31 18:43:00 www HORDE[4229]: [ansel] Error running command:   
> /usr/bin/convert  "/tmp/img1JbVlN"'[0]' -bordercolor "#eee" -border  
> 8  bordercolor grey90 -border 1 -bordercolor none -background none   
> -rotate 0 \( +clone -shadow 60x1.5+1+1 -rotate 90 -wave 1x224  
> -rotate  90 \) +swap -rotate 90 -wave 1x224 -rotate -90 -flatten \(  
> +clone  -fill white -draw 'color 0,0 reset ' \) +swap -flatten  
> +profile "*"  jpeg:"/tmp/imgfgV7at" 2>&1 convert: unable to open  
> image  `bordercolor': No such file or directory. convert: unable to  
> open  image `g
>
> I've searched and done about all I know how to do.  This is just a   
> test server, so I am going to re-install just to make sure I didn't   
> mess something up while trying to make all of this work.
>
> Thanks,
>
> John Bennett
>
Just figured out that the version of ImageMagick for CentOS4, doesn't  
support the -shadow option with convert, which is the error I was  
getting, but the CentOS5 version does.  I reloaded my test box with  
that and things run much better.

I am now getting this convert error:
Error running command: /usr/bin/convert   "/tmp/imgHCPNke"'[0]'  
-bordercolor "#eee" -border 8 bordercolor grey90 -border 1  
-bordercolor none -background none -rotate 0 \( +clone -shadow  
60x1.5+1+1 -rotate 90 -wave 1x300 -rotate 90 \) +swap -rotate 90 -wave  
1x300 -rotate -90 -flatten \( +clone -fill white -draw 'color 0,0  
reset ' \) +swap -flatten +profile "*" jpeg:"/tmp/imgiNbdVq" 2>&1  
convert: unable to open image `bordercolor': No such file or  
directory. convert: unable to open image `grey90': No such file or  
directory. [pid 3875 on line 239 of  
"/home/httpd/html/horde/lib/Horde/Image/im.php"]

After the -border 8, does bordercolor need a dash in front of it as  
well?  All of the other parameters seem to have a - or + proceeding  
them.

John





More information about the ansel mailing list