ImageMagick Path - Error

Symptom: When configuring 4Images after installing via Fantastico, the following error is generated after the path to ImageMagick is set:

ImageMagick error. Wrong path or ImageMagick not installed.

Check module settings.

Resolution:
 
1. Ensure that the path is correct. For this script, the convert program must be specified. The path to imagemagick on our servers are:

/usr/bin/convert

2. If the path is set correctly, but the error persists, edit the image_utils.php file in the /includes directory under the installation of 4Images. Open the file in any text error and move to line 39, or search for the following lines:

if (!@is_executable($convert_options['convert_path'])) {
$convert_options['convert_error'] = "".$lang['im_error']."
n".$lang['check_module_settings'];
}

break;

Insert comment tags around the if statement. The completed edit should look like this:

# if (!@is_executable($convert_options['convert_path'])) {
# $convert_options['convert_error'] = "".$lang['im_error']."
# n".$lang['check_module_settings'];
#}
# break;

Save the file, and reupload it to the /includes directory. Return to the administrative settings panel in 4Images, recheck the path to ImageMagick, and resave the settings.
 
  • 804 Users Found This Useful
Was this answer helpful?

Related Articles

I need the cPanel login info again

To re-send the CPanel login info please LOG IN to our billing system...

What is the path to ImageMagick?

The path to ImageMagick is:/usr/bin/or/usr/bin/mogrify

What is the path to convert for ImageMagick?

Try the following:/usr/bin/usr/bin/convert/usr/bin/X11 

What is the path to NetPBM?

The path to NetPBM is:/usr/bin/

How do I get SSH/Shell access to my account?

Due to security concerns, SSH/Shell access is disabled by default on all accounts. If your plan...