Graphics Settings

AlexisSkeates

Joined: 2005-01-01
Posts: 3
Posted: Tue, 2009-03-03 21:13

Just setup gallery 3 on a os x server 1-.5 all seems to be working fine except the graphics settings. I have installed ImageMagick and GraphicsMagick via macports.

Gallery does not seem to see either of the packages. Another post I saw said something about gallery3 looking in it's own folder for pacakges.

If this is true is there any way to point gallery3 to look in another folder for packages in my case /opt/local/bin/

"Space. It seems to go on and on forever. But then you get to the end and a gorilla starts throwing barrels at you" Philip j fry

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2009-03-04 10:14

The way things are now, it looks in your PATH. So basically, the PHP code runs "which convert" to look for imagemagick. Can you arrange for your webserver user to have /opt/local/bin in your path for now? Eventually we'll come up with a UI that lets you configure this, but sadly we're not there yet. As a quick workaround, you can edit kohana/config/image.php and change

$config['params'] = array();

to

$config['params'] = array("directory" => "/opt/local/bin");

that should take care of it for now.