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
  • Home
  • Fotoware Alto
  • Solutions

Display Pattern: Using HTML and CSS

15. April 2025

Elaine Foley

While you can add HTML and CSS to all display patterns, the HTML and CSS are not displayed correctly (rendered) in certain areas (such as when adding HTML to the Name display pattern of a layer). Sometimes, the area where the Display Pattern is used may not be suited for fancy stylings (e.g., adding a <br> (paragraph break) in the File Type Image Metadata for Name is a bad idea, as the name pattern is used as a title. There is not enough space in the area below the thumbnails in the content browser). Please check what is in use and how much space you have before you start extended styling.

  • You can check against specific permission sets by finding the ID of your permission set in the URL when you click on it in /Permissions/. 
  • You can reduce an image to a data URI and use this.
  • For security reasons, we do not allow Javascript to be resolved.
 

Picturepark only supports a limited number of icons. See here the list of supported icons in Display Pattern.

 

HTML and CSS rendering is not supported for all Display Pattern so in Lists the HTML will be not interpreted and displayed as text. 

 

Display Pattern: Link to Picturepark Areas (Solutions) — You can link to specific areas in Picturepark using relative links, and the base URL of your Picturepark will be automatically added so your links don't break.

<a href="/ContentBrowser/rulesRegulations">Click here for rules and regulations</a>
  • display-pattern
  • examples
  • solution
  • links-in-picturepark
  • relative-links
  • html

Display Pattern: No Permission on Images (Solutions) — I want to display a red message "Private" on images as a thumbnail overlay (thumbnail pattern on file type images) when no permission sets are assigned.

{% if permissionSetIds.size == 0 %}
  < font color = "#ff5576" >
    Private
  </ font >
{% endif %}
  • display-pattern
  • solution
  • examples
  • thumbnail-overlay
  • permission
  • html

Display Pattern: Show Text as Headings (Solutions) — To build the preview of a virtual item you can use various formatting options and use field values as headings and normal text. The styling from Picturepark will be applied except when you add additional CSS styles.

<h1>{{data.pressKit.name | translate}}</h1>
 
<h2>
    {% if data.pressKit.subline %}
        {{data.pressKit.subline | translate}}
    {% endif %}
<h2>
 
<h3>
    {% if data.pressKit.intro %}
        {{data.pressKit.intro | translate}}
    {% endif %}
<h3>
 
<h4>
    {% if data.pressKit.summary %}
        {{data.pressKit.summary | translate}}
    {% endif %}
<h4>
 
<p>
{% if data.pressKit.description %}
    {{data.pressKit.description | translate}}
{% endif %}
<p>
  • display-pattern
  • text
  • solution
  • examples
  • html

Display Pattern: Text (Solutions) — Show the translated text from a text field with different translations in the Display Pattern. Add some color with CSS and truncate longer text, showing three dots.


< font color = "#ff5576" >
  {{data.corporateInformation.title.en | translate | truncate: 5, ‘...’ }}
< /font >
  • html
  • solution
  • examples
  • field
  • text
  • display-pattern

Display Pattern: Using HTML and CSS (Solutions) — While you can add HTML and CSS to all display patterns, the HTML and CSS are not displayed correctly (rendered) in certain areas (such as when adding HTML to the Name display pattern of a layer), and sometimes the area where the Display Pattern is used may not be suited for fancy stylings (e.g adding a <br> (paragraph break) in in the File Type Image Metadata for Name is a bad idea, as the name pattern is used as a title and there is not enough space in the area below the thumbnails in the content browser). Please check what is in use and how much space you have before you start extended styling.

  • display-pattern
  • html

Display Pattern: Using Icons, HTML, and CSS (Solutions) — I want to add large, red music icons for audio files.

Supported icon sizes are: 14, 18, and 24

<cp-icon name="music" size="24" color="red"></cp-icon>
web styling layout design

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Display Pattern: Date Time
  • Display Pattern: Fieldset
  • Display Pattern: Number
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