The flagging service automatically identifies and flags the best Content Items for any purpose within your Content Platform. It can be tailored to customer-specific needs and criteria with guidance from Content Platform experts. Key benefits include:
Efficiency & Time Savings: Automatically flags optimal images, avoiding eliminating the need for manual selection.
Optimized Quality: Can flag Content Items for web (fast loading, correct formats) and print (high resolution, color profiles).
Brand Consistency: Ensures flagged Content Items follow brand guidelines for color, lighting, and composition.
Compliance: Meets technical requirements (color spaces, resolution, formats) for web and print.
Error Prevention: Reduces mistakes like using low-res images for print or oversized images for web.
User-Friendly & Scalable: Integrates with workflows, improves search/filtering, and scales with content libraries.
Future-Proof: Easily adapt your configuration as formats and technologies evolve.
Example for web images
In this example I want to have the flagging service identify the best images I have of a museum exhibit for use in an article about a new exhibition.
I create created a Layer with a text field that has a display pattern for calculated values. The display pattern code checks if the Content Item has a file extension that is a variation of .jpeg and horizontal and vertical resolution are 72DPI. Both of these values are read out of and width and height range that we prefer. These values are extracted from your image on ingestion into the Content Platform. This is a highly configurable .liquid template so you can of course add in as many criteria as is required for your business case.
...
Code Block |
---|
{% assign imageMetadata = outerData.data.imageMetadata %} {% assign validExtension = ".webp" %} {% assign fileExtensionLowercase = imageMetadata.fileExtension | downcase %} {% assign minWidth = 1000 %} {% assign maxWidth = 1200 %} {% assign minHeight = 700 %} {% assign maxHeight = 1000 %} {% if imageMetadata.horizontalResolutionwidth >= minWidth and imageMetadata.width <= 72maxWidth and imageMetadata.verticalResolutionheight >= minHeight and imageMetadata.height <= 72maxHeight and fileExtensionLowercase == validExtension %} true {% else %} false {% endif %} |
...
Code Block | ||
---|---|---|
| ||
{ "identifierTagPath": "basicInformation.mObjects", "isMultiTagbox": false, "identifierListSchemaId": "basicInformation", "flagLayerId": "FlaggingLayer", "flagFieldId": "bestImageForWeb", "fields": [ { "fieldPath": "flaggingLayer.highestWeighted" }, { "fieldPath": "flaggingLayer.secondHighestWeighted" }, { "fieldPath": "flaggingLayer.thirdHighestWeighted" }, { "fieldPath": "audit.creationDate", "sortDirection": "Asc" } ] } |
The fields are then considered evaluated in order from top to bottom. All the Content Items with the same - in this example - Museum Plus object number are evaluated. If the first field is true on one of these images it will be flagged as best for web.
...