• Resolved saturnusdj

    (@saturnusdj)


    Text type watermark does not show the preview image. When the text type watermark is used, it does not work. The image based watermark does show the preview and does work.

    Related error could be:
    [php7:error] [pid 377] [client] PHP Fatal error: Uncaught Error: Call to undefined function EasyWatermark\\AttachmentProcessor\\imagettfbbox() in /var/www/html/wp-content/plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php:622\nStack trace:\n#0 /var/www/html/wp-content/plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php(204): EasyWatermark\\AttachmentProcessor\\AttachmentProcessorGD->calculate_text_size('24', '0', '/var/www/html/w...', 'Test12')\n#1 /var/www/html/wp-content/plugins/easy-watermark/src/classes/Watermark/Handler.php(456): EasyWatermark\\AttachmentProcessor\\AttachmentProcessorGD->print_text_preview(Object(EasyWatermark\\Watermark\\Watermark), 'png')\n#2 /var/www/html/wp-content/plugins/easy-watermark/src/classes/Features/WatermarkPreview.php(130): EasyWatermark\\Watermark\\Handler->print_text_preview(Object(EasyWatermark\\Watermark\\Watermark), 'png')\n#3 /var/www/html/wp-content/plugins/easy-watermark/src/classes/Features/WatermarkPreview.php(111): EasyWatermark\\Features\\WatermarkPreview->print_text_pr in /var/www/html/wp-content/plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php on line 622, referer: https://./wp-admin/post.php?post=406&action=edit

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi, thanks for the notice.

    Looks like the GD library might be missing on your server. Does the plugin apply watermark at all?

    Thread Starter saturnusdj

    (@saturnusdj)

    Thanks.

    Running php -m does show ‘gd’ in the list.
    Yes watermark works, but only the image type, not the text type.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    That sounds like there’s something missing in the PHP install. imagettfbbox is a PHP function that comes with the GD library.

    Thread Starter saturnusdj

    (@saturnusdj)

    Based on your reply I reinstalled WordPress plus database (luckily a test instance, not live) from scratch. It works now. So this very likely is not a problem from the plugin. Hopefully the live instance won’t have this problem. ??

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Fingers crossed! ?? Let me know if you’ll have any more issues ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Text type watermark not working’ is closed to new replies.