EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


Image Magick Issues
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
jerlo
Member
 

Joined: Sat Mar 15th, 2008
Location:  
Posts: 3
 Posted: Sun Mar 16th, 2008 12:44 am
 Quote  Reply 
I am new to Editwrx and am trying it on two different hosting environments.

Server A - All works well so far. Auto-gallery works great. Web host is Vortechhosting.com. H-Sphere.

Server B - The only thing that is not working well is the Auto-Gallery. Editwrx seems to do it's part, but the gallery does not display.

Site parameters does not detect ImageMagick.

Web Host B (VexxHosting.com, cPanel) says "the location for ImageMagick is the following: /usr/bin/convert".

Perl version is 5.008008

Can anyone tell me how to modify Editwrx to use the ImageMagick or instructions on what to tell VexxHosting so the ImageMagick will work.

Thank you

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 583
 Posted: Sun Mar 16th, 2008 02:08 am
 Quote  Reply 
ImageMagick was not installed correctly on the VexxHosting server.

ImageMagick is a Unix program. It can be used at the telnet commandline by typing in 200 lines of code to resize an image, or it can be used by Perl to do the same job through a browser with 4 lines of code. The installation at VexxHosting has the ImageMagick program, but it does not have the Image/Magick.pm Perl Module (PerlMagick) for using it through Perl.

There are numerous ways to install ImageMagick on Unix. Most all methods will botch the job by putting the Image/Magick.pm in the wrong place. To correctly install ImageMagick it MUST be installed with the yum utility. Yum is the only utility which can even get all of the PerlMagick libraries and install them since yum is the only utility that has a URL for finding the PerlMagick libraries and installing them so Image/Magic.pm knows how to find the ImageMagick program.

There is only one way to test if the ImageMagick installation has the correct PerlMagick libraries and is usable by Perl. A Perl script containing:

#!/usr/bin/perl --

use Image::Magick;
print "Content-type: text/html\n\n";
print "OK";

will print OK if it can use ImageMagick. It will print an error if ImageMagick was not properly installed using yum.

 

 

jerlo
Member
 

Joined: Sat Mar 15th, 2008
Location:  
Posts: 3
 Posted: Wed Mar 19th, 2008 01:33 am
 Quote  Reply 
Thank you for your response.

I copied your info into a trouble ticket with Vexxhost 2 days ago and there is no response yet.

Guess we will wait and see what they do.

Jerlo

jerlo
Member
 

Joined: Sat Mar 15th, 2008
Location:  
Posts: 3
 Posted: Mon Mar 24th, 2008 12:04 am
 Quote  Reply 
Update:

Vexxhost came through and got ImageMagick installed correctly. I am all set.

Thanks again.


 Current time is 05:55 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez