WordPress.org

Forums

[Plugin: NextGEN Gallery] ImageMagick for thumnail creation (14 posts)

  1. leachiM2k
    Member
    Posted 6 years ago #

    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 thumbnail.inc.php 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,
    leachiM2k

  2. Alex Rabe
    Member
    Posted 6 years ago #

    As I have written in the comment section, yes I'm interested for your patch

  3. revolution48
    Member
    Posted 6 years ago #

    bump.
    hook me up here please.

  4. werdisturbed
    Member
    Posted 6 years ago #

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

  5. Alex Rabe
    Member
    Posted 6 years ago #

    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) :

    http://code.google.com/p/nextgen-gallery/source/browse/

  6. maierma
    Member
    Posted 6 years ago #

    @@ 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).

  7. Alex Rabe
    Member
    Posted 6 years ago #

    If you have a windows system, install Tortoise SVN : http://tortoisesvn.tigris.org/

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

  8. maierma
    Member
    Posted 6 years ago #

    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 ...

  9. Alex Rabe
    Member
    Posted 6 years ago #

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

  10. maierma
    Member
    Posted 6 years ago #

    @@ 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.

  11. Alex Rabe
    Member
    Posted 6 years ago #

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

  12. virus-2k
    Member
    Posted 6 years ago #

    Hi.
    It would be great if you use the PHP Functions for this.
    --> http://de3.php.net/imagick

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

    Thanks.

  13. Alex Rabe
    Member
    Posted 6 years ago #

    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....

  14. Alex Rabe
    Member
    Posted 6 years ago #

    @virus-2k
    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...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.