Support » Plugin: Add Watermarks » Exclude Thumbnails

  • Hello Michael Zangl,

    First of all, thank you for this plugin, this is the best one out there, the only one working on my website.

    The only problem I have is that I need to exclude the thumbnails of the images, I don’t want them to be watermarked.

    It could be nice to have this option on the next version, but also if you could give us a code or something it would be really nice.

    Thank you.

    https://wordpress.org/plugins/add-watermark/

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Zangl

    (@michaelzangl)

    Hi,

    I’ll keep it in mind for the next version.

    If you need a quick fix, search for shouldAddWatermark(). Return false whenever you do not want to watermark that image. You can access $this->attachment there. If you set debug to true, you see all the fields in there.

    The result of this method is cached later, don’t worry about performance there.

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude Thumbnails’ is closed to new replies.