Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2016-11-22 19:43:30

SkipVicente
Member
Registered: 2016-11-22
Posts: 2

Download with watermark if specific metadata condition is true

I have been the task to find a solution to a company problem in our Thirdlight system. Can anyone please advise where I can start to look at creating/modifying a template for downloads.

Scenario:

The goal is to download image/video with a watermark if a custom metadata field has any value "abc123"
If no value exists in the metadata field the image/video can be downloaded with OUT the water mark.


Any advice would be greatly appreciated and thank you in advance.

Offline

#2 2016-11-23 10:36:01

steve
Third Light Staff
Registered: 2013-06-06
Posts: 105

Re: Download with watermark if specific metadata condition is true

Hi,

The templates are primarily designed for changing the look and feel of an IMS system but the logic you require control over exists at a deeper level that isn't exposed through the template system.

You might want to consider using the API instead as the methods related to downloading published files in conjunction with Files_GetMetadata() may give you extra control over the properties of the generated downloads.

Steve

Offline

#3 2016-11-23 15:15:13

SkipVicente
Member
Registered: 2016-11-22
Posts: 2

Re: Download with watermark if specific metadata condition is true

Thank you Steve for the info and I will keep working on a possible solution.

Offline

Board footer