ImageMagick woes... ImageMagick woes...
 

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

ImageMagick woes...

Started by BAlGaInTl, December 11, 2003, 07:34:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BAlGaInTl

Hey all...

I've been using Coppermine for a while now, and have always used GD 1.X to create my thumbs.  I finally took the plunge and had my host install ImageMagick so that I could have some higer quality thumbs.

I've been having trouble getting it working however.  I keep getting the error 127.  I've looked around the board and found quite a few posts on it.  

I'm pretty sure that the path is correct.  I confirmed it with my provider.  Safe mode is enabled, but I don't know if that is the problem.

I turned on the debug mode, and got the following message when I try to upload a picture.

QuoteThe picture 'albums/userpics/020718_8.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
/usr/X11R6/bin/convert -quality 90 -antialias -geometry 151x100 'albums/userpics/020718_8.jpg' 'albums/userpics/thumb_020718_8.jpg'


The convert program said:


File: /home/virtual/site---/fst/var/www/html/photos/db_input.php - Line: 289


Warning: Cannot execute using backquotes in safe mode in /home/virtual/site184/fst/var/www/html/photos/include/picmgmt.inc.php on line 138

Any ideas??

 :?:

BAlGaInTl

Ok...

I did a new install... the install says that it locates the imagemagick program, but can not execute it.  

How can I fix this permissions problem?

Is it a safe mode problem?

Joachim Müller

if you're not allowed to run convert of ImageMagick you'll have to ask your webhost to fix this for you imo.

GauGau

lubdub

a poblem with my imagemagick

QuoteThe picture 'albums/userpics/avatar.gif' can't be inserted in the album

Error executing ImageMagick - Return value: 1

?? wat does this mean and wat do i ahve ot do

jleaman

I get this error now too. what do i do.

Joachim Müller

[list=1]
  • switch on debug_mode to see what happened in detail
  • simply don't use GIFs - although IM might support it, it doesn't support compression of GIfs for legal reasons, so your resized files will become huge[/list:o]Do a search on these issues, they have been discussed before...

    GauGau

jleaman

what does this mean. i think that im soooo close

The picture 'albums/userpics/10001/odlogo~2.jpg' can't be inserted in the album


Error executing ImageMagick - Return value: 127

Cmd line :
/usr/local/binconvert -quality 80 -antialias -geometry 168x100 'albums/userpics/10001/odlogo~2.jpg' 'albums/userpics/10001/thumb_odlogo~2.jpg'


The convert program said:
sh: /usr/local/binconvert: No such file or directory
 
                         
                         
                         File: /Library/WebServer/Documents/copper/db_input.php - Line: 289

jleaman

ok that error was simple i forgot the / at the end.

but now what is this..

The picture 'albums/userpics/10001/people.jpeg' can't be inserted in the album

Error executing ImageMagick - Return value: 1

Cmd line :
/usr/local/bin/convert -quality 80 -antialias -geometry 132x100 'albums/userpics/10001/people.jpeg' 'albums/userpics/10001/thumb_people.jpeg'


The convert program said:
/usr/local/bin/convert: No decode delegate for this image format (albums/userpics/10001/people.jpeg).
 
                         
                         
                         File: /Library/WebServer/Documents/copper/db_input.php - Line: 289

Joachim Müller

does Image Magic have jpeg support enabled? If you're not sure, ask your webhost.

GauGau

jleaman

i am my webhost. this is on a g3 400 mhz with 512mb ram and a 60gig hard drive.

it has the latest versionof php
mysql and all the developer tool's

Joachim Müller

Then it was you who installed Image Magick, so ask yourself: did you install Image Magick properly? Did you make/install it or did you use a rpm (package)?
I'm afraid this board is the wrong place to ask for help on "how to set up a server", there are only a few people around occasionally who know how to run a webserver at all. As I'm webhosted I can't tell you about details concerning IM (I'm using GD both on my webhosted personal site as well as at the job), but I'm sure this has already been covered on the board - please do a thorough search on it (and remember to search the old board as well).

GauGau

hyperion

I think Image Magick may be choking on the extension ".jpeg".  

Image Magick uses the extension to determine file types, and the standard accepted extension for a JPEG type photo is ".jpg".  Try renaming the extension and see if that works.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-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)

jleaman

i can upload .gif but not jpeg or .jpg..

 how can i make it eccept the other types that im tying to use.

hyperion

Okay, it would appear that your Image Magick has not been built with JPEG enabled, as GauGau thought.  You need to go to www.imagemagick.org and review their installation procedures.  They also have a help board like  this one.  When you can modify JPEG images from the command line of your server, try Coppermine again.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-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)

romario

I have no idea what to do! I searched the web, quite sure that I correctly intalled ImageMagick on windows, but still I receive this error:

QuoteThe picture 'albums/userpics/10001/overburn4.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 1


please help me, i'm frustrated

romario

i'm running a apache web server on windows xp

hyperion

You need to activate debug mode to get the full error message.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-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)