4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: JoeBoard on December 31, 2002, 06:44:44 AM

Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: JoeBoard on December 31, 2002, 06:44:44 AM
I got ImageMagick 5.5.3 Q16 from the Internet and installed it, now how do I get it to be used with this photo gallery?  :roll:
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on December 31, 2002, 06:57:53 AM
just chose ImageMagick in the gallery settings and enter exact path to CONVERT (CONVERT.EXE if u use windows) ex:
/home/blahblahblah/Your_ImageMagick_path/convert  - UNIX
X:/Your_ImageMagick_path/convert.exe  - WINDOWS
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: JoeBoard on January 01, 2003, 08:20:57 PM
It worked :) THanks for your help.
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: Owen on January 16, 2003, 05:15:09 PM
I can't find the convert.exe file in my ImageMagick path  8O Is that possible?
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on January 16, 2003, 05:21:10 PM
convert.exe is for windows systems, I dont know how to install on linux, but there u sould use home/blah/blah/imagemagick/convert
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: Owen on January 16, 2003, 05:30:18 PM
Quote from: V@no
convert.exe is for windows systems, I dont know how to install on linux, but there u sould use home/blah/blah/imagemagick/convert


Oh, but I have windows. Should I do anything to create a convert.exe file?
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on January 16, 2003, 07:31:17 PM
make sure its clear: ImageMagick must be isntalled on your host machine, not yours, unless your machine is the host.
I see from your other post http://4homepages.de/forum/viewtopic.php?t=3621
that your host doesnt run windows.
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: Owen on January 16, 2003, 08:01:18 PM
Quote from: V@no
make sure its clear: ImageMagick must be isntalled on your host machine, not yours, unless your machine is the host.
I see from your other post http://4homepages.de/forum/viewtopic.php?t=3621
that your host doesnt run windows.


Indeed, that's the problem and they won't install it unless I upgrade my account.

So the only option is to make the thumbs by myself  (with the same name as the original files) and FTP them to the thumbnails folder? Too bad... :(
Title: Prob
Post by: Radeon on January 25, 2003, 12:12:53 AM
Hi,

I have problems with ImageMagick to.. I enter teh corect path but i just get a blank page when i click teh Auto-Tumbnailer.

This is where i have teh prog isntalled:
c:\program\imagemagick\convert.exe
Title: Re: Prob
Post by: V@no on January 25, 2003, 12:18:47 AM
Quote from: Radeon
Hi,

I have problems with ImageMagick to.. I enter teh corect path but i just get a blank page when i click teh Auto-Tumbnailer.

This is where i have teh prog isntalled:
c:\program\imagemagick\convert.exe

c:\program\ ?
or
c:\program files\ ?
if second, then I had ones same problem, and that was because of space in the folder's name...
if u posted correct path and running IIS4+ on windows 2000 server, then u are second person trying solve this issue  :?
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: Radeon on January 25, 2003, 12:21:19 AM
No, that is teh correct path, and im not using IIS, im running on Apache. Anyways, i relly want to get this working because when GD rezises images teh quality just sux big time.
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on January 25, 2003, 01:07:51 AM
have u checked phperror.log and apache error.log files?
and also try enter path with keeping case:
m != M
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: SLL on January 25, 2003, 11:27:14 AM
Quote from: Radeon
No, that is teh correct path, and im not using IIS, im running on Apache. Anyways, i relly want to get this working because when GD rezises images teh quality just sux big time.

By befault ImageMagic installed in C:\Program Files\ImageMagic 5.5 (or something like that), long pathname could be a problem...

The simple solution is just to copy convert.exe to the folder, which is for sure accesible by you httpd, for example c:\php\

Btw, GD2 is not that bad, as you're saying... It's at least twice faster, than ImageMagic. Try http://www.coupin.net/gd-freetype/php_gd2.zip and don't forget to set define('CONVERT_IS_GD2', 1); in constants.php
Title: Re: Prob
Post by: V@no on January 25, 2003, 08:41:48 PM
Quote from: Radeon
Hi,

I have problems with ImageMagick to.. I enter teh corect path but i just get a blank page when i click teh Auto-Tumbnailer.

This is where i have teh prog isntalled:
c:\program\imagemagick\convert.exe


ok, now I'm having exact same problem...but only on Apache2 8O
I have installed second server with apache2 just to try it out, and it seems works well, exept few strange things:
imagemagick doesnt work, and no error logs are logging for that.
and another thing, I have language sellector instaled:
http://4homepages.de/forum/viewtopic.php?t=3351
and the script add a picture for each installed language.
on Apache v1.3 it shows language selector sorted by name assending
on Apache v2 it sorts by name decsending.
unless I missconfigure it somwhere... :?
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on January 25, 2003, 11:36:44 PM
hmm...not sure what's wrong, but the "problem Apache v2 it sorts by name decsending. " is because I checked it on FAT32 ??? on NTFS everything ok.
but ImageMagick still doesnt work on Apache2...
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on January 26, 2003, 05:29:14 PM
The problem is PHP v4.3
I have several scripts that dont want run on it.
this version doesnt understand what is
Code: [Select]
is_executable();
so to fix ImageMagic problem I had to delete checking this:
in /includes/image_utils.php find:
Code: [Select]
   if (!@is_executable($convert_options['convert_path'])) {
      $convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
    }
    break;
and just coment it like this:
Code: [Select]
/*    if (!@is_executable($convert_options['convert_path'])) {
      $convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
    }
*/    break;

that worked for me.
and with PHP v4.3 and GD2 it has exact same problem (blank page) if u try do something with .GIF files.
in phperror.log it sais:
Quote
PHP Fatal error:  Call to undefined function:  imagecreatefromgif()
so it's better check what extention of the file is and if it's not .GIF let GD do the work.
Title: Help
Post by: andersen on May 09, 2003, 12:41:51 PM
Dear all,

I had set my ImageMagick, enable the auto-thumbnail.

When a user post a picture, server did not auto-create a thumbnail, it just put on the default picture on the menu.

When I go in to admin site click " auto-thumbnail " and check, the server can check the link, but when I am trying to click on "Create Thumbnail" the server give me the error as below

Create thumbnail for: Rubish maker (rubish-m.jpg) ....  
   Error creating thumbnail! (Red in color)

I had trying to used search on this forum regarding thumbnail problem but I can't find any related with my problem.

Thanks
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on May 09, 2003, 12:43:36 PM
several people reported, that this was the hosts problem, after its reinstall IM, everything wroked for them.
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: andersen on May 09, 2003, 12:50:15 PM
you want me to re-install ImageMagick ? Which version will be better?

Thanks
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on May 09, 2003, 12:51:14 PM
Quote from: andersen
you want me to re-install ImageMagick ? Which version will be better?

the lattest I gues...;)
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: andersen on May 09, 2003, 12:53:07 PM
I will try it again, will return to this thread soon.

Hope re-install will help.

Thanks
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: V@no on May 09, 2003, 12:55:29 PM
Quote from: andersen
Hope re-install will help.

also, the problem might be cause "wrong" IM configuration during installation, or something like that...
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: andersen on May 09, 2003, 01:06:10 PM
I had found very funny error.

first, I test post a picture on 640 X 480 and thumbnail pictures also size with 640 X 480.

final result is in the main page, the thumbnail is damn big as 640 X 480 too! what happen? I taugh server will reject the process.

The the original setting for thumbnail 300 x 300 max 100k

Any idea?
Title: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: andersen on May 09, 2003, 01:22:54 PM
Not just only thumbnails,

I just upload a picture 1600 X 1200 (1.3mb) . The server is accepted!

I had set the

Max. width of thumbnail in pixel = 300
Max. heigth of thumbnail in pixel = 300
Max. thumbnail size in KB = 100
Max. image width in pixel = 640
Max. image heigth in pixel =480
Max. image size in KB = 800

Why the 4Image can't block this un-accepted format?

May I know any one here have this experience?

Thanks
Title: Re: ImageMagick 5.5.3 Q16 and Auto-Thumnail
Post by: shepherd-girl on February 04, 2006, 12:09:32 AM
How do I install this if I have linux?

I have downloaed both but in my admin panel I dont have anything or anywhere where I can add the home/bla/bla/ file from to my gallery...