• Resolved paulculmsee

    (@paulculmsee)


    Downloaded and configured plugin. At first I was getting no downloads, which I worked out was a memory issue as I am working with a 200 page PDF. I gave PHP more memory and now the PDF to download gets created, but no watermark at all.

    Tried several PDF’s of varying sizes and versions…

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Little Package

    (@littlepackage)

    @paulculmsee, it sure would help to have an idea about the system you’re running and your plugin settings… otherwise I’m grasping in the dark. Thanks.

    Thread Starter paulculmsee

    (@paulculmsee)

    I managed to fix it. The issue was not your code, but the format/side of the PDF’s. For some reason the Y offset had to be set to very tiny (like 8) and I had a high memory limit line to class_wwpdf_watermark.php

    ini_set(‘memory_limit’,’128M’);

    I saw on the fpdf site an example that handles low memory by writing to the file on each loop – something to consider for handling larger PDF’s.

    thanks for a nicely written component.

    Plugin Author Little Package

    (@littlepackage)

    Hi @paulculmsee

    That’s great! Thanks for reporting back. Yes, sometimes I go long periods without dealing with this plugin and forget the intricacies. Watermarks that go off the page just… go off the page. 😉

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘watermark not applying’ is closed to new replies.