I can't install image magick. Any way to use this without it?

clockworkjoe

Joined: 2007-10-24
Posts: 3
Posted: Wed, 2007-10-24 18:38

I have installed gallery2 and the wordpress plugin on my site, but the plugin says it won't work without imagemagick. I am not experienced enough in linux to install imagemagick on my server and I don't know what else to do. Is there anyway to use this without image magick or do I have to delete everything and look for another image gallery plugin for wordpress?

 
trbailey
trbailey's picture

Joined: 2007-04-16
Posts: 172
Posted: Wed, 2007-10-24 19:24

Hmmm, what version of linux are you running?
Do you have a phpinfo.php file we can use to see who your PHP thinks it is?
Please post the output from your Gallery2 Site Admin -> Maintenance -> System information if the following fails to help you.
First, you need to have a working Gallery2 installation before you try to embed it. Adding more complexity to a non working system won't make it work.

Then you need to read WPG2 - Gallery before you try to enable it. See the Quick Start link.

Installing imagemagick might be as easy as "apt-get install imagemigick" or "yum install imagemagick". I don't think imagemagick is a requirement for wpg2 so it's likely you have no graphics tools installed. Be sure you have the php4-gd or php5-gd (GD is a Graphics toolkit that's part of PHP) module installed as well. If you installed a gui, you could try using Application Maintenance (Synaptic if it's a debian intall) from the menu to install the needed applications.

If either of those commands work for you and imagemagick is installed, you'll need to uninstall and reinstall the imagemagick module. Gallery will usually find it. Then go to Site Admin ->Plugins configure for imagemagick and press test. If it works and you get the version warning, read the warning, make a chocie, either click the box and enable it or not...

I suggest you use the wpg2 3.0 plugin for wordpress available at the wordpress site. Before you enable it, go to the wp-content/theme/your-wordpress-theme and make a copy of the header.php, renaming it wpg2header.php. Then enable the plugin set any paths or urls needed and it should work.
-Tom

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-10-24 20:09

G2 will work with GD a image toolkit embedded with PHP.
We also provide an alternative toolkit, netPBM, and you can instal this without shell access.
http://codex.gallery2.org/Gallery2:Installing_Modules_With_External_Dependencies

Ask your host what toolkits they have already installed and their path.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
clockworkjoe

Joined: 2007-10-24
Posts: 3
Posted: Wed, 2007-10-24 20:49

Okay, a lot of what you posted went over my head. Here's the system info. What do I do now?

Last Run Details:

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.7 cgi
Webserver = Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysqlt 4.0.27-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd
Acceleration = none, none
Operating system = Linux host.server20063.net 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Rows in GalleryAccessMap table = 7
Rows in GalleryAccessSubscriberMap table = 1
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Wed, 2007-10-24 22:26

Enable the Gallery2 GD Graphics Toolkit via Gallery2 -> Site Admin -> Plugins -> Graphics Toolkits -> Gd
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, WPG2 Downloads, WPG2 Documentation