Support » Plugins » [Plugin: NextGEN Gallery] ImageMagick for thumnail creation

  • Hello Alex,
    thank you for your real cool plugin for wordpress. It’s great, but I was just wondering why you don’t have ImageMagick on your ToDo-List. If it’s accessible on the server, it has more advantages than GD Library. I don’t have to explain further, I think…

    I’ll come to the point: I just modified the to work with ImageMagick instead of GD. The functions stay the same and even the params. If you’re interested in this modification, please mail me or answer here.

    A short explanation why I’ve done this: My provider has a strict memory limitation of 16M. This is not very much for GD. But I’ve found ImageMagick installed in the safe_mode_exec_dir. That’s why I can use it better than GD.

    Kind regards,

Viewing 13 replies - 1 through 13 (of 13 total)
  • As I have written in the comment section, yes I’m interested for your patch

    hook me up here please.

    Me too, please. I have the same problem that the provider won’t increase my memory limit.

    It’s already in the trunk for the next version you can get a first test version here (don’t use it on a live blog system) :

    @@ Alex

    Any chance to get the trunk as a bundled download to help testing (got some “inactive” blogs where I could give it a try)=

    Last weekend, I downloaded all trunk files seperately which took ages (and didn’t work, produced php-syntax errors).

    If you have a windows system, install Tortoise SVN :

    Its really simple to get then the files (and also update when files are changed)

    Thanks, Alex, couldn’t get Tortise do what I wanted, but on the Mac, webdav did all I needed. 😉

    Version 1.0a looks pretty stable already!
    Some providers don’tseem to accept imagemagick, so I had to stick with GD library.

    However, for the first time, zip-upload seems to work well for me.

    Even large size pics work fine.

    Well, not the right place to post this here, I think, sorry …

    Thanks for the feedback, indeed imagemagick is not available for all users…

    @@ Alex

    Everything looks pretty good, have noticed something else, when using the built-in “add media”-function when adding a picture from NGG:

    Warning: debug_backtrace() has been disabled for security reasons in ... wordpress/wp-includes/wp-db.php on line 941

    Warning: Invalid argument supplied for foreach() in /../wordpress/wp-includes/wp-db.php on line 944

    Other plugins, such as Boris’ ngg-imageflow or ngg-smoothplayer don’t seem to recognize the presence of NGG with the new version.

    Strange, I will have a look . Boris addon’s requires some updates, I already contact him.

    It would be great if you use the PHP Functions for this.

    For security reasons exec() is mostly disabled.
    ( exec() + safe_mode off = insecure system )


    I’m not sure if the PECL solution is the best, but I agree that exec is very often disabled based on security reason.

    I wonder which solution exist in Gallery2 and Coppermine….

    I check all available Imagick PHP classes (free stuff, Gallery 2 and Coppermine) in all cases the they uses the exec() solution. I suppose that the PECL solution is much better, but not very widespread by the most hoster and always require PHP5, so I take the first step with the exec() solution…

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: NextGEN Gallery] ImageMagick for thumnail creation’ is closed to new replies.