Author Topic: 4Images 1.7.2 and AutoThumbnail  (Read 17029 times)

0 Members and 1 Guest are viewing this topic.

Offline Oras

  • Pre-Newbie
  • Posts: 4
    • View Profile
4Images 1.7.2 and AutoThumbnail
« on: April 08, 2006, 12:13:10 AM »
Hello, this is my first post here.
I installed 4Images 1.7.2 today, after adding the path for ImageMagick, and tried to make auto thumbnails but I received error ... so I changed to GD and received the same error! i.e. not installed. And I was quite sure I have both ImageMagick and GD library installed. I kept reading posts in this forum and then did this:
on files: thumbnail.php and resizer.php look at this code:
Code: [Select]
$convert_options = init_convert_options();
if ($convert_options['convert_error']) {
  echo $convert_options['convert_error'];
  show_admin_footer();
  exit;
}
I just commented the lines:
Code: [Select]
$convert_options = init_convert_options();
/*
if ($convert_options['convert_error']) {
  echo $convert_options['convert_error'];
  show_admin_footer();
  exit;
}
*/
and everything worked great.
I wanted to share this as may someone will need it.
regards
Oras

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #1 on: April 08, 2006, 12:23:54 AM »
What error message exactly?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Oras

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #2 on: April 08, 2006, 12:51:05 AM »
This one:
ImageMagick error. Wrong path or ImageMagick not installed. Check module settings

Offline cookie

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #3 on: May 24, 2006, 09:46:55 PM »
I've got the same problem.

I'm running CentOS with WHM/Cpanel.  It's a dedicated server, so I can do with it as I please.

Imagemagick is installed.

root@host [/usr/bin]# ls -al convert
-rwxr-xr-x  1 root root 7992 Feb 14 11:41 convert*

I can execute /usr/bin/convert from the Shell.

I've configured 4Images in the settings to use /usr/bin/convert

But when I try to create a thumbnail I get the dreaded error below:

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

I'm having a hard time understanding why I can execute it from the command line and utilize Imagemagick in other applications, such as Xoops, but 4images can't find it.  The permissions seem to be set fine on convert itself.

Any Ideas?

Offline cookie

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #4 on: May 24, 2006, 10:17:55 PM »
One other thing.  I don't have the code mentioned above in this thread....anywhere in my ./gallery/ files.  I've used a text editor to search the entire 4images install directory and it doesn't exist.

I had a 1.7.1 install that was fresh, then I upgraded with a 1.7.2

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #5 on: May 25, 2006, 01:25:54 AM »
In includes/image_utils.php remove any @ signs you can find. And see if any other error messages shows up.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #6 on: May 25, 2006, 04:16:28 AM »
I had the similar problem , when i was start update the script to 1.7.2 the auto thumbnailer now not work properly , when i execute the script [ thumnailer.php ] it was make thumbnailer but there is no permissions file on each image in my ftp program for that images [ is blank ] after that i change myself the permission from ftp ~ its said permission denied.

anyone have the same problem ?

all file and directory in data folder I already set permission to 777

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #7 on: May 25, 2006, 04:38:41 AM »
In includes/image_utils.php remove any @ signs you can find. And see if any other error messages shows up.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #8 on: May 25, 2006, 05:36:35 AM »
In includes/image_utils.php remove any @ signs you can find. And see if any other error messages shows up.


this massage i got

Create thumbnail for: a pray (a_pray.jpg) .... 
   Thumbnail created!


but still missing file attributes [ blank ]

see the the attachments image


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #9 on: May 25, 2006, 05:41:07 AM »
in your case its different, your imagemagick most probably is not installed properly.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #10 on: May 25, 2006, 05:50:19 AM »
no V@No i use GD library

in
--------------------------------------------
 Linux
Apache Version    Apache/1.3.34

GD Support    enabled
GD Version    bundled (2.0.28 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
XBM Support    enabled


Offline cookie

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #11 on: May 25, 2006, 06:27:33 AM »
in my case, I just switched to GD and it worked fine.  Easier than changing core code.

Thanks for the response.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #12 on: May 25, 2006, 07:25:56 AM »
no V@No i use GD library
fine, then gd is not installed properly or images are corrupted...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline mantra

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • DREAM WITH MANTRA
Re: 4Images 1.7.2 and AutoThumbnail
« Reply #13 on: May 25, 2006, 01:00:57 PM »
no V@No i use GD library
fine, then gd is not installed properly or images are corrupted...

I think maybe , when i move to another server  the category folder i make from FTP program.
nevermind ... thanks V@no