Skip to main content
Version: 3.2.7

Image

signageOS SMIL Player supports multimedia objects, including videos, images, streams, video inputs, HTML5 widgets and HTML5 websites.

Basic usage of still Image

A simple image played for defined duration.


<img src="ad2.jpg" dur="5s" fit="fill"/>

Using Query Parameters

Images can include query parameters for dynamic content, versioning, or tracking purposes. Each unique URL with different query parameters will be cached as a separate file.

<!-- Different banner versions cached separately -->
<img src="https://example.com/banner.jpg?version=1.0&amp;lang=en" dur="5s" region="main"/>
<img src="https://example.com/banner.jpg?version=1.0&amp;lang=es" dur="5s" region="main"/>

<!-- Dynamic image selection based on parameters -->
<img src="https://cdn.example.com/promo.jpg?campaign=holiday&amp;week=1" dur="10s" fit="cover"/>

Note: Remember to use &amp; instead of & for proper XML encoding when separating query parameters.

The dur attribute specifies a duration of the still image during playback. The valid value is either with or without seconds - dur="10" dur="10s". Decimals are not allowed (e.g. dur="10.45s").

The fit attribute defines how to position image within the region. Options are:The dur attribute specifies a duration of the still image during playback. The valid value is either with or without seconds - dur="10" dur="10s". Decimals are not allowed (e.g. dur="10.45s").

Fill optionDescription
fillDefault option
Shrink or stretch the content to completely fill the area (without preserving aspect ratio)
meetScale the content while preserving aspect ratio until one of the dimensions meets the that of the area
Similar to css property object-fit: contain
meetBestNot implemented, behaves the same as meet
coverImage is sized to maintain its aspect ratio while filling the element's entire content box. The object will be clipped to fit
Similar to css property object-fit: cover
z-indexIn case you need to overlap images, you can assing z-index to it.
Similar to html property z-index="5"

Images transitions

Smil player offers an option to create a crossFade or billboard transition between two images or image and widget. If there is a video after image in the playlist, the transition will not be displayed. Transition image -> widget works only for crossFade transition. Billboard transition supports only image -> image use case.

Crossfade transition
Billboard transition