Author Topic: image magick question  (Read 14814 times)

0 Members and 1 Guest are viewing this topic.

Offline wildblue

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
image magick question
« on: May 19, 2002, 10:32:41 »
this may be an exercise in futility, but I'm trying to get this to work on a windows 2000 server to which I have no admin access to.
Thumbnails aren't being created, I"m guessing because image magick isn't running (although I'm not sure)
I put the win2000 binaries in my space there, and put that path in the config file.  No luck.
Any ideas?  Is this even possible?
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: image magick question
« Reply #1 on: May 19, 2002, 17:55:34 »
It is possible, I'm using IM on a Windows XP installation, and it works fine.

Take a look at this:

http://perl.cdnarmy.ca/cgi-bin/yabb/YaBB.cgi?board=album.pl_archive;action=display;num=1019346237

Hopefully that'll help track the problem down, but if not, just reply and let me know.

Cheers
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline wildblue

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
Re: image magick question
« Reply #2 on: May 19, 2002, 19:39:45 »
I've got the path and everything in there right, but I don't have telnet access to the webserver to see if the command actually executes.  Is there any other way to do this?
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: image magick question
« Reply #3 on: May 20, 2002, 05:13:48 »
Ok, I've got a better answer for you now... I've changed the code to display any IM error messages back to the user. Try re-downloading, and replacing your album.pl and album_strings.txt and see what happens. (If you don't notice anything, go back and check the link I posted above - I've added some new instructions...)

Cheers!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline wildblue

  • album.pl User
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
Re: image magick question
« Reply #4 on: May 20, 2002, 06:39:24 »
Thanks for the quick responses!  Wow!
Ok, so this is what I get now...
Code: [Select]
8338: IMAGEMAGICK: "d:/html/users/wildblueskycom/html/cgi-bin/image/convert" -quality 25 -resize 100x75 "d:/html/users/wildblueskycom/html/albums/seth/headdown_sunset_small.jpg" "d:/html/users/wildblueskycom/html/albums/seth/thmb_headdown_sunset_small.jpg"
8341: IMAGEMAGICK RETURNED:


« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: image magick question
« Reply #5 on: May 20, 2002, 14:26:48 »
Well... That wasn't what I was hoping for, actually. :)

I'll have to see if I've done the coding correctly, I was expecting to see an error message or something...
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Deskdirect

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 51
  • Karma: +0/-0
  • Classic Rock Rocks!
    • Photo Gallery
Re: image magick question
« Reply #6 on: May 26, 2002, 12:05:32 »
Imagemagick was working with 5.4 after upgrading it is no longer working and each time I attempt to upload I get this message

Image Magick Error: /www/m/mitchryder/htdocs/imagemagick/convert: 5: Syntax error: word unexpected (expecting ")")

I am not really sure what this means nor do I have enough knowledge to troubleshoot the error.


My host also recently changed server to Unix based Apache 866Mhz PIII FreeBSD. I may need to find a new convert file but I don't have a clue which ImageMagick binery file to download. And I have no knowledge how to compile a source if the file I need is not listed.


Annette



Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: image magick question
« Reply #7 on: May 26, 2002, 15:21:56 »
Hi Annette, glad to see you here!

Would it be possible for you to check the version of your "convert" binary? I know some of the old ones won't work... (They have no "resize" command...)

You need shell access for that, and you can just run convert by itself and see what the usage instructions are...
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Deskdirect

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 51
  • Karma: +0/-0
  • Classic Rock Rocks!
    • Photo Gallery
Re: image magick question
« Reply #8 on: May 26, 2002, 15:57:57 »
Thanks for the welcome Mike. I've actually been lurking - my Album had been working just fine!

Unfortunately, I don't have shell access. I assume that my version is ok since its been working up until the changes I mentioned. Something else I noticed, all of the images that had been resized by ImageMagick are showing up as a box with an "X".

Not sure what to do now!

Annette
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: image magick question
« Reply #9 on: May 26, 2002, 16:33:38 »
I'll check out the code. I may have put in a bug... uh I mean feature... :)
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Deskdirect

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 51
  • Karma: +0/-0
  • Classic Rock Rocks!
    • Photo Gallery
Re: image magick question
« Reply #10 on: May 26, 2002, 20:18:28 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: image magick question
« Reply #11 on: May 27, 2002, 12:51:21 »
Unfortunately not. They're talking about using the PERL library for ImageMagick, whuch I opted not to use. Instead, I call the binary directly. It may be the wrong thing to do, but I was hoping it would make integration easier... (Apparently not always the case... :))
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Deskdirect

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 51
  • Karma: +0/-0
  • Classic Rock Rocks!
    • Photo Gallery
Re: image magick question
« Reply #12 on: May 27, 2002, 13:30:11 »
Thanks, I guess I'm back to square 1 -  trying to find the right convert file for the new server.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: image magick question
« Reply #13 on: May 27, 2002, 17:45:13 »
That's a drag... Anything I can do to help?
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Deskdirect

  • album.pl Donor
  • album.pl Contributor
  • ***
  • Posts: 51
  • Karma: +0/-0
  • Classic Rock Rocks!
    • Photo Gallery
Re: image magick question
« Reply #14 on: May 28, 2002, 12:01:26 »