Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #57379
    officeland
    Participant

    I have Plugin Version 2.0.7

    I have asked my hosting company and i checked under Site Health: Active editor WP_Image_Editor_Imagick

    BUT at the plugins page Image Processor at the drop down is GD Library!!!
    Settings page

    Current Status
    Plugin version: Image Watermark 2.0.7
    PHP version: PHP 8.3.30
    GD Library: Available
    ImageMagick: Not available
    Active engine: GD Library
    Backup folder: Ready and writable.

    And the watermarking is not working.

    What to do please ??

    #57380
    Bartosz
    Keymaster

    Thanks for the details.

    This can happen because the plugin checks ImageMagick more strictly than WordPress does. WordPress can report WP_Image_Editor_Imagick as active, but the plugin will still mark ImageMagick as “Not available” if any required Imagick constants or methods are missing.

    The plugin requires these to be present in your PHP Imagick extension:

    – extension_loaded(‘imagick’)
    – Classes Imagick, ImagickPixel
    – Imagick constants like COMPRESSION_JPEG, COMPOSITE_OVERLAY, INTERLACE_PLANE, FILTER_CATROM, CHANNEL_ALL
    – Methods like valid, getimage, writeimage, scaleimage

    If any of those cases (older Imagick, stripped build, JPEG support disabled by policy), the plugin will fall back to GD.

    No matter which library is used here are quick checks in the plugin settings to narrow this down:

    – Make sure Enable watermarking is ON.
    – Make sure a watermark image is selected, or if using text, the text string is not empty and a font file is available.
    – Make sure Apply watermark on sizes has at least one size selected (including full if you want originals).
    – If Apply on post types is selected, confirm the attachment’s parent post type is included.
    – Try a manual apply on a single JPEG and tell me the exact error message (if any).

    #57381
    officeland
    Participant

    Thanks for the support,

    There seems to be an issue with the plugin though.
    I went back on 2.0.3 and all works again. ( it’s possible that later versions work as well but i did not tested as i was trying to find the error some hours and tired to do more testing now )

    #57382
    officeland
    Participant

    I am now on 2.0.6 and it’s working. So, in my case 2.0.7 stopped working for some reason

    Current Status:
    Plugin version: Image Watermark 2.0.6
    PHP version: PHP 8.3.30
    GD Library: Available
    ImageMagick: Not available
    Active engine: GD Library
    Backup folder: Ready and writable..

    #57429
    logovo.ca
    Participant

    This is quite annoying.

    I tried adding the following code to the funstions.php, and sure enough it prints “Imagick is available!”

    add_action('admin_notices', function() {
        if (extension_loaded('imagick') && class_exists('Imagick')) {
            echo '<div class="notice notice-success"><p>Imagick is available!</p></div>';
        } else {
            echo '<div class="notice notice-error"><p>Imagick is NOT available.</p></div>';
        }
    });

    but the plugin still reports that there’s no ImageMagick support:

    Plugin version: Image Watermark 2.0.8
    PHP version: PHP 8.5.3 (fpm)
    GD Library: Available
    ImageMagick: Not available
    Active engine: GD Library
    Backup folder: Ready and writable

    It was working just fine a few months ago, up until the recent burst of updates. And other plugins (like Image Magick Engine work just fine)

    #57430
    Bartosz
    Keymaster

    Please copy this and ask your hosting provider to confirm:

    The plugin requires these to be present in your PHP Imagick extension:

    – extension_loaded(‘imagick’)
    – Classes Imagick, ImagickPixel
    – Imagick constants like COMPRESSION_JPEG, COMPOSITE_OVERLAY, INTERLACE_PLANE, FILTER_CATROM, CHANNEL_ALL
    – Methods like valid, getimage, writeimage, scaleimage

    If any of those cases (older Imagick, stripped build, JPEG support disabled by policy), the plugin will fall back to GD.

    There could be tools that work with your Imagick install, it is possible that previous versions of Image Watermarked could have worked too. But the number of features has grown (incl. text watermark support) so we had to standarize Imagick requirements to make sure that plugin features are handled.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.