Member
Member
The T.C.   2012-06-17, 02:55
#1

Hey, I can't figure out how to switch the graphics from GD to IM. My host says that they support both, but I can't find anywhere in the options to switch them.

I also found no information in the user guide, so is there something I'm missing?

Administrator
Administrator
acrylian   2012-06-17, 07:16
#2

Zenphoto does not support ImageMagick directly, you need the php wrapper extension Imagick 2.1.0 or newer.

If you have that there is a checkbox on Options > Image.

Administrator
Administrator
fretzl   2012-06-17, 07:18
#3

Your server also needs to have the Imagick PHP extension enabled.
Ask your host about that or you can check yourself if it's enabled with phpinfo() (see http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#9)

If everything is installed correctly Zenphoto detects that and only then an option will appear in Options -> Image to choose between GD and ImageMagick.

Administrator
Administrator
fretzl   2012-06-17, 07:21
#4

...sigh
I should refresh before answering ;-)

Administrator
Administrator
acrylian   2012-06-17, 07:40
#5

But it's always fun ;-)

Member
Member
The T.C.   2012-06-18, 04:51
#6

php wrapper extension Imagick? Is that a Zenphoto extention or something else? A quick look and I didn't see anything beginning in I or P...

Also I checked the php info and just found GD, which is strange because Godaddy says that they have it, and provide instructions that doesn't seem to apply to anything in ZP I see.

http://support.godaddy.com/help/article/209/how-can-i-use-imagemagick-on-my-web-site

Administrator
Administrator
fretzl   2012-06-18, 05:07
#7

Like GD, Imagick is a PHP extentsion that needs to be installed and enabled on the Go Daddy server.
It is not a Zenphoto extension but it needs it to be able to work with ImageMagick.
Note that Imagick is not he same as ImageMagick.

Best you ask Go Daddy about it.

Member
Member
The T.C.   2012-06-18, 08:52
#8

Ah I was under the impression that they were the same since searching Imagick gets ImageMagick.

Aight, I'll check with them, thanks for the help!

Administrator
Administrator
acrylian   2012-06-18, 09:41
#9

Imagick is a kind of layer to use Imagemagick. There are also others but we only support Imagick. See here:
http://www.imagemagick.org/script/api.php?ImageMagick=q2d9dhornknfjrt6j4cv4dlpm6

Member
Member
risottto   2012-06-24, 00:34
#10

I cam across this thread and am having the same problem. I made sure my server has imagick installed and verified via phpinfo (imagick 3.01, PHP 5.3.13, ZenPhoto 1.4.2.4. http://jspartphotography.com/phpinfo.php

I would really like to switch from GD to imagick because I am having issues with GD removing the color profiles from the scaled down images. Everything seems to be in place, but the option to switch under Options->Image is not there. Do I need to reinstall ZenPhoto to get it to find imagick?

Thanks to the team for developing ZenPhoto, it's changed the way I make websites!

Member
Member
risottto   2012-06-24, 01:34
#11

Update .. I did a little test, by installing ZenPhoto 1.4.1.6 in a subdirectory via simplescripts (I know it's bad, but quicker than uploading via FTP on my slow provider).

The simplescripts test install with the older ZenPhoto DID have to option to enable imagick, so it IS supported by my server, just not appearing on my current install.

...
PROBLEM SOLVED: Hope it helps others in the future: All I had to do was go into my cpanel PHP Configuration (via Bluehost) and change the PHP version from

"PHP 5.3" to
"PHP 5.3 (Single php.ini)"

This basically makes all subdirectories use the main /public_html/php.ini file. Seems to do the trick for ZenPhoto. Before I had copied the php.ini from my main root to the subdirectory where ZenPhoto resided.

PS - My zenphoto installation is on a subdirectory on my main host that is redirected to a separate domain I own.

Administrator
Administrator
acrylian   2012-06-24, 08:46
#12

Ok, thanks, this seems to be quite server specific but surely of help for others.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.