Watermarking on thumbnail depending on the asset's metadata | Community
Skip to main content
manpreetk
Level 2
May 5, 2019 3:00 PM UTC
Solved

Watermarking on thumbnail depending on the asset's metadata

Hi, I am following this - Watermarking to add digital watermark to assets. However I want to modify this process slightly, I want to apply thumbnail images to assets based on its metadata fields. So for example: I upload an image file that has a metadata 'hasright Ristriction' field called 'HAS RIGHTS RISTRICTION'. Now the condition for a thumbnail and it's watermark would be: if 'HAS RIGHTS RISTRICTION' is 'YES'     apply thumbnail image watermarked 'X' but else if 'HAS RIGHTS RISTRICTION' is 'NO'     don not watermark the image. Slightly confused on how I can get this done, any help would be appreciated. Thanks, Manpreet

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
May 6, 2019 11:21 AM UTC

In Understanding how OR Split in workflow works  there is an example how the you can access the workflow metadata from a custom workflow step and set a property in there. And in the OR split you can the retrieve this value.

Does that help?

Jörg

4 replies

joerghoh
joerghohAccepted solution
Employee
May 6, 2019 11:21 AM UTC

In Understanding how OR Split in workflow works  there is an example how the you can access the workflow metadata from a custom workflow step and set a property in there. And in the OR split you can the retrieve this value.

Does that help?

Jörg

Translate
manpreetk
manpreetkAuthor
Level 2
May 6, 2019 11:16 AM UTC

Hi Joerg,

I am able to fecth the metadata property "hsy:assetRightsRestriction" by creating a workflow but unable to figure out how to access this property in OR split?

Thanks,

Manpreet

Translate
Adilos-Cantuerk
New Participant
May 11, 2023 1:29 PM UTC

Did you get a workflow for watermarking thumbnails in the end?

Translate
joerghoh
Employee
May 5, 2019 4:32 PM UTC

When you modify the workflow, you can implement an OR-split with the correct condition; and if that condition is met, the watermark step is executed; if it's not met, it runs through an empty step.

In case you cannot read your metadata directly inside the OR-split, you need to a step before which fetches the relevant asset metadata and adds it to the workflow metadata, which should be accessible by the OR split.

Translate