Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • 11.14 Schreckhorn
    • Terminology
    • Solutions
    • User Guide - Deutsch
    • User Guide - English
    • API Changelog
  2. Fotoware Veloz
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a CMS
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Fotoware Veloz releases
    • Activity Exports
    • Fotoware Example Workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • What is Flow?
    • Getting started
    • Flow dictionary
  5. Fotoware On-Premises
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • The Fotoware API
    • Creating integrations using embeddable widgets
    • Authorizing applications using OAuth
    • Auto-tagging
    • FotoWeb Drag and Drop export
    • Integration using webhooks
    • Optimizely and Episerver plugin documentation
    • User Interface Integrations
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support

Table of Contents

Summary Permission Set Access Use Case Steps
  • Home
  • Fotoware Alto
  • Solutions

Display Pattern: Show Permission Text on Thumbnail Overlay

11. March 2025

Elaine Foley

Table of Contents

Summary Permission Set Access Use Case Steps

Summary

I want to display the Permission applied to an image as a thumbnail overlay (thumbnail pattern on file type images).

{% if contentPermissionSetIds contains 'a16d98ceebe342c28fc5fc089a0f2ac4' %}
 Archived
{% elsif contentPermissionSetIds contains 'c0b46e3b39154f12a1d1c9ab8fd365f0' %}
 Public
{% elsif contentPermissionSetIds contains 'fb0fa99c03cc4a72b0b586cf3bed18cc' %}
 Staff
{% elsif contentPermissionSetIds contains 'a628678f5e134f21a9f6b4e454113c23' %}
 Admin  
{% else %}
 Private
{% endif %} 

Permission Set Access

permissionSetIds

  • will access the Permission Sets, so I can check for individual Ids e.g. if permissionSetIds contains the Id I am looking for e.g. 123, then show "Archived" as a text on the thumbnail
  • is an array, so you must check for the position (permissionSetIds.[1]) or use contains.

Use Case

I want to display a text for the permission applied as a thumbnail overlay when a specific Permission Set is applied.

  • I have to change the thumbnail pattern for ImageMetadata (File Types/FileMetadata/ImageMetadata) and correspondingly all other File Types.
  • Thumbnail overlays are Display Pattern Thumbnails on File Types.

Steps

  1. Open File Type > ImageMetadata (File Types/FileMetadata/ImageMetadata)
  2. Update the Thumbnail Display Pattern
  3. Check for Permission Sets using if/else
{% if contentPermissionSetIds contains 'a16d98ceebe342c28fc5fc089a0f2ac4' %}
 Archived
{% elsif contentPermissionSetIds contains 'c0b46e3b39154f12a1d1c9ab8fd365f0' %}
 Public
{% elsif contentPermissionSetIds contains 'fb0fa99c03cc4a72b0b586cf3bed18cc' %}
 Staff
{% elsif contentPermissionSetIds contains 'a628678f5e134f21a9f6b4e454113c23' %}
 Admin  
{% else %}
 Private
{% endif %} 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Consent management overview
  • Display Pattern: No Permission on Images
  • Display Pattern: Fieldset
  • Display Pattern: Tagbox
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
FotoWare Switzerland AG
Industriestrasse 25
5033 Buchs (AG)
Switzerland

Copyright 2025 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand