ImageMagick Engine
Please comment if you have any questions (10 posts)

  1. Brand Manual
    Posted 5 years ago #

    We will try to keep track of this forum.


  2. Israel Curtis
    Posted 5 years ago #

    First of all THANK YOU for making this - I'm building a asset system for a photography company and I've been desperate to get away from GD for my image sizing... ;-)

    I'm getting an error on the Edit Media page (wp-admin/media.php?attachment_id=1292&action=edit) only for those files I've uploaded since installing ImageMagick Engine:

    ( ! ) Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /Users/israel/Server/ram/wp-content/plugins/imagemagick-engine/imagemagick-engine.php on line 587
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0001	58000	{main}( )	../media.php:0
    2	0.4407	5510108	get_media_item( )	../media.php:99
    3	0.4539	5592800	apply_filters( )	../media.php:1221
    4	0.4539	5595600	call_user_func_array ( )	../plugin.php:334
    5	0.4539	5595736	ime_filter_media_meta( )	../plugin.php:0
    6	0.4540	5596580	array_key_exists ( )	../imagemagick-engine.php:587

    Not sure what it's affecting...

  3. Brand Manual
    Posted 5 years ago #

    Yeah, we made this plugin as we are working with a number of photographers -- who were not happy with the imagequality of GD.

    Do the Edit Media page still work? Do you still see image dimensions and such?

    The warning itself should be harmless, though a bit weird. We try to note which images have been resized using IM on the media library pages. The warning means that we didn't get the attachment metadata.

    I'll clean up the warning itself for next version, but I'll need to investigate why we might not get the metadata to make sure nothing bad is happening.

  4. xinfo
    Posted 5 years ago #

    @ Orangelab Web Agency
    my wish list follows

    if the plugin support timthumb image it will be fantastic ,,,
    since most the theme home page we modify to show to small image most of them generated via timthumb script

  5. Deathcrow
    Posted 5 years ago #

    Could I please get a response to my topic opened here


  6. andreasnvj
    Posted 5 years ago #


    Looks like a very relevant plugin.

    I recieve following error message, when I upload images:

    Fatal error: Uncaught exception 'ImagickException' with message 'Wand contains no images `MagickWand-2'' in /home/www/petervagn.dk/wordpress/wp-content/plugins/imagemagick-engine/imagemagick-engine.php:345 Stack trace: #0 /home/www/petervagn.dk/wordpress/wp-content/plugins/imagemagick-engine/imagemagick-engine.php(345): Imagick->__construct('/home/www/peter...') #1 [internal function]: ime_im_php_resize('/home/www/peter...', '/home/www/peter...', 306, 459, '') #2 /home/www/petervagn.dk/wordpress/wp-content/plugins/imagemagick-engine/imagemagick-engine.php(324): call_user_func('ime_im_php_resi...', '/home/www/peter...', '/home/www/peter...', 306, 459, '') #3 /home/www/petervagn.dk/wordpress/wp-content/plugins/imagemagick-engine/imagemagick-engine.php(296): ime_im_resize('/home/www/peter...', '/home/www/peter...', 306, 459, '') #4 [internal function]: ime_filter_attachment_metadata(Array, 63) #5 /home/www/petervagn.dk/wordpress/wp-includes/plugin.php(166): call_user_func_array('ime_filter_atta...', Array) #6 /home/www/peter in /home/www/petervagn.dk/wordpress/wp-content/plugins/imagemagick-engine/imagemagick-engine.php on line 345

    One consequense is, that I cannot alter the sizes of the images in my post.

    Any idea what the error may be?


  7. DanMichel
    Posted 5 years ago #

    anybody figure out how to make it work with timthumb?

  8. benklocek
    Posted 5 years ago #

    Trying this with convert at /usr/bin/convert and even when entering it in the path field, I'm not getting the green check.


    $ which convert gets me /usr/bin/convert.

  9. benklocek
    Posted 5 years ago #

    Seems like it's a open_basedir issue, which is preventing me from accessing things at /usr/bin. Oddly, I can access /usr/local/bin though.

    I figured this out by putting

    <?php is_file('/usr/bin/convert'); ?>

    into a php file and opening it in my browser.

  10. alexkent
    Posted 5 years ago #

    hi Orangelab,

    on my host the plugin is enabled and green ticks the /usr/bin with ImageMagick command line option. yet when i upload a new image it doesn't appear to work: i get a 'crunching' phase, but then the scaled image size options are greyed out.

    i assumed that executing the binary was somehow blocked on my 'budget' shared hosting. so i put together a very quick test script to check:

    @exec("/usr/bin/convert" . ' one.jpg -resize 50% two.jpg', $output);

    surprisingly this ran fine.
    any ideas how i can troubleshoot the plugin more usefully (i don't have access to the apache errorlog) ?

    thanks for making an awesome plugin...

    alex kent.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ImageMagick Engine
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic