Support » Plugin: Easy Watermark » Watermarking only if size is bigger than X

  • Resolved s

    (@stepunk)


    Is there an easy way to trigger the watermarking ONLY if the original image is bigger than X pixels wide and/or tall?

    Is there any hook I can use for this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter s

    (@stepunk)

    Some more details about the use-case:

    I set up Easy Watermark to apply the watermark only to full sizes images, I don’t want it to be applied to any other size.

    But for example if I upload a small image of 900×900, and my ‘largest’ image size is 1024×1024, the original is used for both the ‘largest’ size and ‘full’ size, making the ‘largest’ image appear with a watermark too (which I don’t want).

    I am not sure if I was able to explain myself in a clear way 🙂

    Plugin Support annaszalkiewicz

    (@annaszalkiewicz)

    Hello,

    Unfortunately, there is currently no such option in the plugin. Perhaps we will add it in the next version of Easy Watermark, thank you for reporting this case.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Hey @stepunk

    the filter will be released in version 1.0.10!

    Here’s the diff: https://github.com/BracketSpace/Easy-Watermark/commit/95a76c892d4ac4a75d0a0745ee8641a780a11e05

    @kubitomakita How can we use that filter? E.g exclude apply watermark for images which has width <= 200px (too small).

    Br,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Watermarking only if size is bigger than X’ is closed to new replies.