G3: How to install ImageMagick
martijntijn
Joined: 2005-12-02
Posts: 12 |
Posted: Thu, 2009-02-26 23:56 | |||||
I`ve installed the ImageMagick Windows Binary Release on my XAMPP web server from http://www.imagemagick.org/www/binary-releases.html#windows. But my Graphic Settings on my Admin section doesn`t recognizes the ImageMagick library automatically. My webserver does recognize ImageMagick. How do i configure Gallery 3 to use the ImageMagick library?
|
||||||
Posts: 27300
You or your host will have to install ImageMagick on the server. Once installed G3 should detect where it is.
I don't know much about XAMPP so can't offer any advice if it fits the above or not.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 1642
Unfortunately I don't think it is as simple as that Dave. Since G2.3, your fellow devs have decided that simply installing IM and having it in the path is not enough to run IM and have not quite gotten around to fully documenting the implications and actions to take.
As you can see from his attached file, the OP clearly has IM installed but until he also adds the path to IM to his openbasedir settings, Gallery from 2.3 onwards will not run with it.
The OP can either ask his host to do this with the likely answer being NO, or do it himself if he has root access to his server and is happy to mess with his conf files. He may be lucky and find that all he needs to do is to change his php.ini file.
I was able to get g2.3 to work with IM on my system by changing my openbasdir settings. If the OP is on plesk, I can advise how to do it. I ultimately decided to go back to 2.2.6.
--
Gallery version = 2.2.6
Default theme = PGtheme 1.3.0
Web Site: dakanji.com
Posts: 7994
G3 currently expects ImageMagick / GraphicsMagick to be in your path. We'll probably eventually make that configurable, but we're not there yet. In your case, you're running on Windows which is an unsupported configuration so you probably want to stick with G2.
Posts: 1
Install the gnuwin32/which program and gallery3 will find it.
Posts: 12
How do you use the whitch so that gallery3 will find it?
Posts: 16504
wilhelmmm, what operating system? On any Linux distro it should be installed and ready to use.
Windows isn't supported, but you'd probably have to add it to the path environment variable to make the system find it or drop it in your system32 directory.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 1
i am using freenas 0.72. the $path=exec("which convert") or $path=exec("which gm") does not return the string to $path. So, i hardcode the $path with right paths for both convert and gm. G3 found them correctly.
Posts: 3
How exactly did you get this to work? I am also running G3 of FreeNAS 0.72 and have the IM binaries in my path. They execute just fine from command line, but just having the IM binaries in the path is apparently not good enough for G3. What do you mean you hardcoded the $path? Where?
Thanks
Posts: 7994
Remember that the webserver runs as a different user and can have a different path. Check your phpinfo to see what path the webserver is using:
FAQ: How do I create a phpinfo page?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git