Author Topic: ImageMagick  (Read 23589 times)

0 Members and 1 Guest are viewing this topic.

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« on: May 11, 2002, 03:21:26 PM »
Hi Guys

I managed to fully install 4images on our new server and for my luck ImageMagick was pre-installed. But when i type in the path and I try to go into the autothumbnailer section i get:

ImageMagick error. Wrong path or ImageMagick not installed.
Check module settings.

I checked through these boards I saw a few comments about permissions of the ImageMagick files what do they have to be set @ ?

Also my files are stored @ usr/local/bin/

With all files in that folder do i enter "usr/local/bin/convert" into the ImageMagick field in 4images?


Thanks in advance


Steve

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
ImageMagick
« Reply #1 on: May 11, 2002, 03:37:28 PM »
Please ask your host about the correct path where ImageMagick is installed.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #2 on: May 11, 2002, 03:40:18 PM »
Hi

It is the correct path they told me it and I made sure by navigating through ftp.

Steve

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
ImageMagick
« Reply #3 on: May 11, 2002, 03:48:27 PM »
Do you run a Linux or Windows server? If Windows, be sure that you enter "convert.exe" instead of "convert".
Be also sure that you entered "/usr/local/bin/convert". Starting with /.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #4 on: May 11, 2002, 04:03:36 PM »
I am running a linux server.

I am using the /usr/local/bin/convert address


Thanks

Steve

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
ImageMagick
« Reply #5 on: May 11, 2002, 04:10:49 PM »
Try this

/opt/ImageMagick-5.4.5/bin/convert

this worked for us , you need the version number this is ours , but try your own  :!:

Giffy :wink:

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #6 on: May 11, 2002, 04:19:03 PM »
No that dosnt work either :(


Steve

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
ImageMagick
« Reply #7 on: May 11, 2002, 06:04:07 PM »
Ok, if you are REALLY sure that this is the right path, remove this code from the top of "admin/thumbnailer.php" and "admin/resizer.php" and try if it works.

Code: [Select]
if ($config['convert_tool'] == "im" && !is_executable($config['im_convert_path'])) {
  echo "<b class=\"marktext\">".$lang['im_error']."</b><br />\n";
  echo $lang['check_module_settings'];
  show_admin_footer();
  exit;
}


Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #8 on: May 11, 2002, 06:13:54 PM »
Im gettibg the error now:

Warning: SAFE MODE Restriction in effect. The script whose uid is 553 is not allowed to access ./../data/media/36/blademasters01.jpg owned by uid 48 in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Warning: getimagesize: Unable to open './../data/media/36/blademasters01.jpg' for reading. in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Warning: SAFE MODE Restriction in effect. The script whose uid is 553 is not allowed to access ./../data/media/40/bruteforce02.jpg owned by uid 48 in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Warning: getimagesize: Unable to open './../data/media/40/bruteforce02.jpg' for reading. in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #9 on: May 11, 2002, 06:14:46 PM »
Warning: SAFE MODE Restriction in effect. The script whose uid is 553 is not allowed to access ./../data/media/36/blademasters01.jpg owned by uid 48 in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Id did that and got into the section but got:

Warning: getimagesize: Unable to open './../data/media/36/blademasters01.jpg' for reading. in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Warning: SAFE MODE Restriction in effect. The script whose uid is 553 is not allowed to access ./../data/media/40/bruteforce02.jpg owned by uid 48 in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Warning: getimagesize: Unable to open './../data/media/40/bruteforce02.jpg' for reading. in /home/virtual/site50/fst/var/www/html/4images/admin/thumbnailer.php on line 182

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
ImageMagick
« Reply #10 on: May 11, 2002, 06:33:42 PM »
Ok, your PHP is running in Safe Mode. You can't use the Auto-Thumbnailer und the Auto-Resizer, sorry!

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #11 on: May 11, 2002, 06:36:53 PM »
Ok How do i get it off safe mode

Do i need to ask my host ?


Thanks


STeve

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #12 on: May 11, 2002, 07:34:54 PM »
Hi my host has diabled safe mode but now when i try to create thumbnails i get:

Create thumbnail for: a10-in-tunnel-bingomid (a10-in-tunnel-bingomid.jpg) ....  
   Error creating thumbnail!


Create thumbnail for: Blade (blademasters01.jpg) ....  
   Error creating thumbnail!


Create thumbnail for: Bruteforce (bruteforce02.jpg) ....  
   Error creating thumbnail!


Create thumbnail for: X-isle3 (x-isle04.jpg) ....  
   Error creating thumbnail!


Create thumbnail for: Dark3 (darksummit03.jpg) ....  
   Error creating thumbnail!


Create thumbnail for: Dommy (dom2.jpg) ....  
   Error creating thumbnail!


Create thumbnail for: Cello (celdamage04.jpg) ....  
   Error creating thumbnail!

Any ideas ?

Offline widgit19812

  • Newbie
  • *
  • Posts: 25
    • View Profile
ImageMagick
« Reply #13 on: May 11, 2002, 07:37:55 PM »
read above

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
ImageMagick
« Reply #14 on: May 11, 2002, 07:39:04 PM »
Ok, i think the path to ImageMagick is not correct. Please re-check this!!!
It's all i can say about it...

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search