Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Efficiency & Time Savings: Automatically flags optimal images, 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.

...

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 %}

...