Member
Member
jlmontero   2013-06-07, 07:34
#1
Hi,

I'm currently running Zenphoto in windows with a simple wamp server installation. All is Ok, but thumnail generation is a little bit slow... I'm trying to switch to Imagemagick to see if it helps, but I can't. Admin option to activate is disabled because it seems that zenphoto requires Imagick php extension version 3.0.0 or newer.

In fact I think I'm running a newer version, but as I'm in windows, I need windows binary dll extension, which I found here:

http://valokuva.org/

Problem: this windows compilation doesn't provide correct version information, so when you ask phpinfo, you get this:

"@PACKAGE_VERSION@"

...insted of actual dll version...

Sooooo: would it be possible to bypass this zenphoto check? I'll try to find the check in all php files inside zp-core... but if anyone knows, it would be great and save me from parsing all that files... Smile

Thanks a lot.
Member
Member
jlmontero   2013-06-07, 07:45
#2
Oh man... 2 minutes after writing all that I found it... So simple as going to /zp-core/lib-imagick.php and change this line:

$_imagick_version = phpversion('imagick');

to, for example, this:

$_imagick_version = '3.0.0';

All is working now, and yes, thumnail generation is noticeable faster. Smile

bye!
Member
Member
kagutsuchi   2013-06-13, 04:33
#3
Glad to hear it's working for you Smile

I haven't tested the lib on Windows, but that DLL version issue sounds like a bug. You might consider filing a bug report on Imagick's PECL page.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.