CM cant find Image Magick path? CM cant find Image Magick path?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CM cant find Image Magick path?

Started by JimR, May 15, 2004, 06:57:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JimR

My host assures me he has Image Magick installed on the server I'm on. He states path is :
/usr/bin/X11/mogrify

Or

/usr/X11R6/bin/mogrify

( Not sure why there would be 2 options of path )

I have tried both and both times I get the dreaded message:
The installer can not find the ' /usr/bin/X11/mogrify/' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

I have even tried /usr/bin/X11/ with no luck.
Any idea's?
I think he has "GD Libraries" installed ( from what I have read on our host's forum ). If I dont spec a path with CM, will it  look for GD?
Here is the forum topic I got the info from:
http://www.theprimehost.com/forums/phpBB2/viewtopic.php?t=240&sid=2e5fcc9d687b73d66e88d13a695c4ff2

Thanx for any help you can come up with
Jim




Casper

Create a new file, with your notepad.  Copy and paste into it the following;
<?php phpinfo(); ?>

Name this file 'info.php', save and upload into your root folder on the server.

Now use your browser to go to this file, and you should see all the php info.  Scroll down and lood for the GD module.
If it's there, you will see it and it will tell you what version (1x or 2x).

If it's there, just gointo config, and change your 'Method for resizing images' to GD, and away you go.

You could bypass all that, and just try setting it to GD in config.  Try GD1 first, if it works but the thumbs are terrible, set it to GD2.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

JimR

#2
Thanx, being a newbie, that info.php was interesting. It showed that GD was ver 2.x

One more question. Upon install, I get this message:

QuoteYour server supports the following image package(s): GD Library version 1.x (gd1), GD Library version 2.x (gd2), the installer selected 'gd2'.

Important : the GD graphic library supports only JPEG and PNG images. The script will not be able to create thumbnails for GIF images. If you want the script to create thumbnails for GIF images, you need to use ImageMagick.

But the info.php showed GD .GIF read support. Will I have thumbnails or not?

Jim


Casper

The GD info usually supports GIF 'READ ONLY'.  This is due to copyright issues (that will be resolved later this year).
Imagemagic can deal with gifs, but they will create thumbs and intermediate pics with bigger file sizes than the original, due to the same copyright issues.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

JimR

Quote from: Casper on May 15, 2004, 08:51:12 PM
The GD info usually supports GIF 'READ ONLY'.  This is due to copyright issues (that will be resolved later this year).
Imagemagic can deal with gifs, but they will create thumbs and intermediate pics with bigger file sizes than the original, due to the same copyright issues.

Ahh, gotcha...

Thanx.

Jim

hyperion

Also, sometimes CPG is unable to detect IM due to the way the server is configured.  You are encouraged to set the IM path and method in the Config console after the install is complete to see if you can get IM functionality.
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

JimR

Quote from: hyperion on May 15, 2004, 11:10:24 PM
Also, sometimes CPG is unable to detect IM due to the way the server is configured.  You are encouraged to set the IM path and method in the Config console after the install is complete to see if you can get IM functionality.

Ok, I set the path in the config. I received no error's, does that mean it was able to access the path and its now abled?

hyperion

You must set the path and change the 'Thumbnail Method' to IM.  Then you should try to upload.  If it fails, it will let you know.
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)