On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

How to enable imagick support in CMS or website in Plesk?

Follow

Comments

5 comments

  • Avatar
    Candlewick Press

    The PHP-Imagick module seems to be install by the provided Plesk php versions, but Wordpress PDF thumbnail generation (which uses Imagick) doesn't work. Is there a way to get this to work properly?

    0
    Comment actions Permalink
  • Avatar
    Karl May

    I use CentOS Linux 7.8.2003 with Plesk Obsidian Version 18.0.27 Update #1

    phpinfo() said:

    imagick module version 3.4.3
    ImageMagick release date 2020-04-01

    In "ImageMagick supported formats" format WEBP is still missing.

    WEBP is supported in GD library https://support.plesk.com/hc/en-us/articles/360012609933 but not in ImageMagick. How do I get WEBP in ImageMagick?

    0
    Comment actions Permalink
  • Avatar
    Konstantin Annikov (Edited )

    Hello, 

    The issue with plugin is being discussed on WordPress support forum: 
    https://wordpress.org/support/topic/bropken-pdf-thumbnail-generation/

    So, please test your installation using `PDF thumbnails support test` plugin and in case everything is ok, please contact plugin's developers. 

    Plesk only provides module for PHP and I could confirm that the module is working on test installation: 

    # cat imagicktest.php
    <?php
    //This function prints a text array as an html list.
    function alist ($array) {
    $alist = "<ul>";
    for ($i = 0; $i < sizeof($array); $i++) {
    $alist .= "<li>$array[$i]";
    }
    $alist .= "</ul>";
    return $alist;
    }
    //Try to get ImageMagick "convert" program version number.
    exec("convert -version", $out, $rcode);
    //Print the return code: 0 if OK, nonzero if error.
    echo "Version return code is $rcode <br>";
    //Print the output of "convert -version"
    echo alist($out);
    ?>

    # /opt/plesk/php/7.1/bin/php imagicktest.php
    Version return code is 0 <br><ul><li>Version: ImageMagick 6.7.8-9 2019-02-01 Q16 http://www.imagemagick.org<li>Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC<li>Features: OpenMP<li></ul>

    So, I suppose that the issue is on plugin's side.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Karl May

    This may be done manually only.

    For example, check this forum topic

    Also, recently we had a feature suggestion about it. It was rejected because ImageMagick package is provided with OS vendor and does not have support for webp enabled by default.

    0
    Comment actions Permalink
  • Avatar
    ianscott

    I am seeing a problem here, but it seems it has to do with PHP 7.3.17 and PNG support with ImageMagick.

    My client has a PDF plugin for Woocommerce. His logo is in a PNG format. After upgrading his website to PHP 7.3.17, it resulted in errors:


    Exception: NoDecodeDelegateForThisImageFormat

    Reverting back to PHP 7.2 in the Plesk Control panel, the error disappeared. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request