Can't get imagemagick working on linux server Can't get imagemagick working on linux server
 

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

Main Menu

Can't get imagemagick working on linux server

Started by astro, April 06, 2005, 10:38:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

astro

At least I'm pretty positive the problem lies in ImageMagick
My gallery is at this location.. http://astroguy.org/bandpics
I followed this guide to set up imagemagick on my 1and1 server
http://s88567960.onlinehome.us/forums/index.php?showtopic=222

Then in the admin config, it asks to link the location to imagemagick, and I think this is where I'm screwing up
I tried different things:
/homepages/31/d117121540/htdocs/im/bin
moving the im folder to the bandpics folder and using
/im/bin
im/bin
http://astroguy.org/bandpics/im/bin

None of them seem to work.  After I upload a file, it'll say upload successful, then it'll take me to the page to fill in the details.
On the left hand side, where it's supposed to give a preview of the image, I get a redx.  I think this is the sign where imagemagick isn't doing its job.
Then after i fill it out and push ok, it gives an error message: the previous file could not be placed
Any ideas?

kegobeer

I have no idea if you installed ImageMagick correctly.  Usually you ask your webhost to install it for you.

The path (not a url) to ImageMagick binaries requires a trailing slash.  /url/local/bin/
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

astro

Judging from the link, you can't tell if I installed it correctly or not?
http://s88567960.onlinehome.us/forums/index.php?showtopic=222

Do you think it looks like an imagemagick problem?

kegobeer

According to those directions, after installing ImageMagick the binaries are located at:

/kunden/homepages/yy/dxxxxxxxx/htdocs/im/bin/
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

astro

Yes that would be synonymous to
/homepages/31/d117121540/htdocs/im/bin
for my server. 
I used that path and i get the redx for the preview thumbnails
Is the path that coppermine config is asking relative to where it's placed?
example, if i was going to provide a link for it in root, it would be /bandpics/im/bin
but if I was going to provide a link from bandpics it would be /im/bin
So which one do I use?

kegobeer

That isn't a relative path, it's an absolute path.  That is what all scripts that do image manipulation require.  If you installed ImageMagick according to those directions, use the path the instructions told you to use.  I told you to add a trailing slash to the path.  Did you do that?
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

astro

Yep I did that to begin with.
Well I just tried using the GD2.x option and it's working now, I thought I had to install that or I wouldn't have bothered with im :x
I guess imagemagick just doesn't want to work..

kegobeer

You can always ask you host for assistance.  This appears to be an installation/configuration issue.  You could Google for a sample php script that does image manipulation with ImageMagick, upload that script to your site, and see if you can get the convert to work.  At least you'd know if ImageMagick works.
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

OmegaGOD

As Kegobeer stated it should be installed in /usr/local/bin. That is the default location ImageMagick should install to. If you install it in any other directory, you will have to configure apache to run executable binaries from within the installation directory. I would try to install it to the public local bin, then try to execute it from the command line just to make sure your installation works.

Hope this help,

--OmegaGOD
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

astro

Thanks for all your help!
I still have one problem though.
When I upload a picture that has a width of 3000, the resizing program stops working.  I get a redx, and the picture won't post
I set my max picture width to be 5000, so that shouldn't be an issue. 

kegobeer

One question per thread.  Please search for resize problems, and make a new thread if you can't find any helpful posts.
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