PHPee.com PHP development forum
Pigalle image conversion paths

 
Post new topic   Reply to topic    phpee.com Forum Index -> Pigalle Support
View previous topic :: View next topic  
Author Message
BigNick0



Joined: 21 May 2004
Posts: 3

PostPosted: Fri May 21, 2004 2:22 pm    Post subject: Pigalle image conversion paths Reply with quote
I had a problem with my image conversion utility location. Here is a thread that Philip and I had, where he provided the solution. Posting it here in case anyone else has a similar issue:
___

Hello!

Thanks for your great work with Pigalle!

I have a question. I cannot seem to get the image conversion to work
correctly. I have both GD AND ImageMagick installed, but I get the
following error:

Sd-Error: ImageMagick convert binary (/usr/bin/convert) was not found in /var/www/htdocs/pigalle/private/lib/sourdough/Sd_Image/Sd_Image_im.class.php [Sd_Image_im::_doConvert] on line 108

Can you tell me how to specify where Pigalle should find convert, since
its not located in /usr/bin/ but /usr/X11R6/bin/

Thanks!

-Nick
Back to top
View user's profile Send private message
pipo
Site Admin


Joined: 15 Nov 2003
Posts: 761
Location: Zurich, Switzerland

PostPosted: Fri May 21, 2004 2:35 pm    Post subject: Re: Pigalle image conversion paths Reply with quote
In /private/lib/sourdough/conf/config.inc.php, you'll find the following (lines 84-90):

PHP:
// image library configuration
$conf['image'] = array(
    
'im_path'           => '/usr/bin/',
    
'im_path_win32'     => 'C:\\Program Files\\ImageMagick\\',
    
'netpbm_path'       => '/usr/bin/',
    
'netpbm_path_win32' => 'C:\\Program Files\\NetPBM\\'
);


Change 'im_path' to /usr/X11R6/bin/.

I definitely recommend to use ImageMagick instead of Gdlib, as it is almost 10 times faster for image conversion.
Make sure you have safe_mode turned off, otherwise it won't work with the imagemagick binary.

take care
_________________
Philip Iezzi - Development Team Leader, phpee.com
PHPee.com | Downloads | PPhlogger | CVS
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    phpee.com Forum Index -> Pigalle Support All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB
Theme design based on Team 101 Designs, modified by Philip Iezzi