Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


This forum is in read only mode, you can no longer reply
  • Wolfie 25 posts 141 karma points
    Apr 11, 2017 @ 19:40
    Wolfie
    0

    ImageProcessor Multiple Watermark text

    From reading the docs, its supposed to process the URL parameters left to right.

    However, if you put more than one watermark on the URL, it throws an error.

    So, for example...

    This works:

    ?watermark=Issue+Date%3A&textposition=485,245&fontfamily=Calibri&color=000&fontsize=12&dropshadow=true&fontstyle=regular,bold
    

    This does not:

    ?watermark=Issue+Date%3A&textposition=485,245&fontfamily=Calibri&color=000&fontsize=12&dropshadow=true&fontstyle=regular,bold&watermark=Certificate+%23%3A&textposition=15,245&fontfamily=Calibri&color=000&fontsize=12&dropshadow=true&fontstyle=regular,bold
    
  • James Jackson-South 489 posts 1747 karma points c-trib
    Apr 15, 2017 @ 07:44
    James Jackson-South
    100

    Hi Wolfie,

    Yeah that's by design.

    The url API only accepts one instruction per processor. This helps prevent DDOS attacks. If you want more complicated manipulation you should use the ImageFactory API.

    Cheers

    James

  • Wolfie 25 posts 141 karma points
    Apr 26, 2017 @ 22:10
    Wolfie
    0

    That makes sense. Thank you.

Please Sign in or register to post replies

Write your reply to:

Draft