Skip to main content
Mediakit decides how to present a file from its extension. Extensions it maps to an image type get a thumbnail; extensions it maps to any other known type get an icon for that type. Both maps have sensible defaults, and both can be replaced. You would change them to add a format your teams use that is not recognised by default, or to stop treating a format as an image.

Prerequisites

  • Administrator access to the Polarion server configuration
  • Permission to restart the Polarion service

The Two Properties

Both are Polarion system properties, and both take the same format: extension=mimetype pairs separated by semicolons.

Replace, Don’t Extend

Setting a property replaces the whole default list — it does not add to it.Whatever you set becomes the complete map. If you set nextedy.files.imagemimes to a single pair, that one extension is the only one treated as an image, and every other image format loses its thumbnail.To add a format, take the full default list from Supported File Types, append your pair, and set the result.

Apply a Change

1

Compose the full value

Start from the current default list, add or remove pairs, and keep the extension=mimetype;… format.
2

Set the system property

Add the property to your Polarion configuration alongside the server’s other system properties.
3

Restart Polarion

Restart the service so the new value is read, then reload a work item with the gallery to confirm the file type now presents as you intended.

Supported File Types

The complete default lists for both properties.