Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Do I need to define the path of ImageMagick?  (Read 11095 times)

0 Members and 1 Guest are viewing this topic.

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Do I need to define the path of ImageMagick?
« on: September 18, 2005, 02:20:41 am »

Hi...

I'm trying to run Coppermine with GIF support. Everything works fine when I'm using GD, but when I change the config to ImageMagick, the uploaded files don't work. The server obviously supports ImageMagick because the admin told me it does and gave me the convert path, which I defined. Yet, when I try to upload with the config set to ImageMagick my only result is a broken Image and this message: "The previous file could not be placed."

Any ideas? Thanks!
« Last Edit: September 19, 2005, 12:41:58 am by kegobeer »
Logged

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Re: Do I need to define the path of ImageMagick?
« Reply #1 on: September 18, 2005, 02:31:14 am »

Ok, and I just realized that I should have defined it in the setup. Is there any way to change the path now? I'm assuming the path was already set correctly anyway.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Do I need to define the path of ImageMagick?
« Reply #2 on: September 18, 2005, 02:31:57 am »

You can change settings in Config
Logged

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Re: Do I need to define the path of ImageMagick?
« Reply #3 on: September 18, 2005, 03:10:03 am »

I don't see anything in config, except for the convert utility path.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Do I need to define the path of ImageMagick?
« Reply #4 on: September 18, 2005, 03:38:33 am »

Path to ImageMagick 'convert' utility (example /usr/bin/X11/)

convert is the binary that ImageMagick uses to do resizes.  That's all Coppermine needs to use ImageMagick.  If you are unable to upload images, resize images, etc, after you select ImageMagick as the method for resizing, and you are sure the path you supplied is correct, then permissions are not set correctly for the ImageMagick binaries.  That's something you need to ask your host about.

You can use GD2 (2.0.28+), Coppermine, and my GIF mod (look in the mods board) if you can't get ImageMagick working.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Re: Do I need to define the path of ImageMagick?
« Reply #5 on: September 18, 2005, 04:19:29 am »

Turns out, I never defined the path to ImageMagick itself in the original setup. Do you know if there's any way to define that path now that coppermine is already installed? (not the convert path in config). If not, I'll just use that mod because I don't really want to reconfigure/upload 900+ files lol.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Do I need to define the path of ImageMagick?
« Reply #6 on: September 18, 2005, 04:40:42 am »

The only place you enter a path to ImageMagick is in the config settings.  That's it.  The only place.  Nowhere else.  If you want to use ImageMagick, you must enter that path, and also select ImageMagick as the method to resize your images.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Re: Do I need to define the path of ImageMagick?
« Reply #7 on: September 18, 2005, 05:08:40 am »

There is no where in config.php that I can define the path to ImageMagick itself. The only thing I can define is the path of the convert utility. I have already done this. This isn't what I'm looking for. I'm talking about the path to ImageMagick that you specify when you first run install.php. Is there any way to change it after coppermine has already been installed by editing a php file?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Do I need to define the path of ImageMagick?
« Reply #8 on: September 18, 2005, 05:10:40 am »

Please, just trust me on this, ok?  It's the same thing.  Just do as I've told you and everything will be ok.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Re: Do I need to define the path of ImageMagick?
« Reply #9 on: September 18, 2005, 05:21:24 am »

lol.... Well, I already tried what you told me to do, that's the thing. My server admin specified two different paths:

"Hello Nick,

We do support ImageMagick, the path is:

/usr/local/lib/ImageMagick/

The path for ImageMagick Convert utility is:

/usr/local/bin/convert

Have a nice day"
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Do I need to define the path of ImageMagick?
« Reply #10 on: September 18, 2005, 05:23:16 am »

Use /usr/local/bin/
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Re: Do I need to define the path of ImageMagick?
« Reply #11 on: September 18, 2005, 05:30:29 am »

Doesn't work.  :(

I emailed admin to ask if I even have permission to use it. I tried installing another instance of coppermine in another directory and defned the path in install.php and it told me that either the path doesn't exist or I don't have permssion to access it.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Do I need to define the path of ImageMagick?
« Reply #12 on: September 18, 2005, 05:41:51 am »

You should just wait until you hear back from your host.  If they can't get it sorted out, then you'll have to apply my GIF mod and use GD2 (as long as your GD version is 2.0.28 or later).
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Sofistikated

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
    • sofistikated.net
Re: Do I need to define the path of ImageMagick?
« Reply #13 on: September 18, 2005, 10:35:15 pm »

Ahh... Problem resolved! My host had to turn off safe mode, I guess. Also, you were right about setting the path to /usr/local/bin. Thanks for all of the help!  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.