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: ImageMagick woes...  (Read 7284 times)

0 Members and 1 Guest are viewing this topic.

BAlGaInTl

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • http://www.thedibles.net
ImageMagick woes...
« on: December 11, 2003, 07:34:27 pm »

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.

Quote
The 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??

 :?:
Logged

BAlGaInTl

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • http://www.thedibles.net
ImageMagick woes...
« Reply #1 on: December 13, 2003, 05:14:02 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
ImageMagick woes...
« Reply #2 on: December 13, 2003, 08:22:26 pm »

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

GauGau
Logged

lubdub

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
ImageMagick woes...
« Reply #3 on: December 14, 2003, 02:02:09 am »

a poblem with my imagemagick

Quote
The 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
Logged

jleaman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
ImageMagick woes...
« Reply #4 on: December 14, 2003, 07:00:37 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
ImageMagick woes...
« Reply #5 on: December 14, 2003, 01:07:06 pm »

[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
Logged

jleaman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
ImageMagick woes...
« Reply #6 on: December 15, 2003, 01:37:13 am »

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
Logged

jleaman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
ImageMagick woes...
« Reply #7 on: December 15, 2003, 02:02:00 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
ImageMagick woes...
« Reply #8 on: December 15, 2003, 08:08:29 am »

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

GauGau
Logged

jleaman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
ImageMagick woes...
« Reply #9 on: December 15, 2003, 06:18:39 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
ImageMagick woes...
« Reply #10 on: December 16, 2003, 01:15:34 am »

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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
ImageMagick woes...
« Reply #11 on: December 16, 2003, 01:21:09 am »

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.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

jleaman

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
ImageMagick woes...
« Reply #12 on: December 16, 2003, 01:38:22 am »

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

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

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
ImageMagick woes...
« Reply #13 on: December 16, 2003, 03:17:57 am »

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.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

romario

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://romario.no-ip.com/
ImageMagick woes...
« Reply #14 on: December 19, 2003, 12:02:09 pm »

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:

Quote

The 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
Logged

romario

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://romario.no-ip.com/
ImageMagick woes...
« Reply #15 on: December 19, 2003, 12:02:50 pm »

i'm running a apache web server on windows xp
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
ImageMagick woes...
« Reply #16 on: December 19, 2003, 08:54:04 pm »

You need to activate debug mode to get the full error message.
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 18 queries.