Skip to main content Skip to complementary content

Custom preview images

You can define a custom preview image that is visible when the visualization extension has been deployed to Qlik Sense. The preview image is visible when selecting the visualization extension in the Library or Assets panel. This is done by defining the preview parameter in the QEXT file.

Information noteIf you do not define the preview parameter in the QEXT file, the icon definition will be used for rendering the preview image as well.

Example

The example below show how to define a preview image from a custom image file.

Example: Define a custom image file as preview image

{
	"name" : "My chart",
	"description" : "My first visualization extension",
	"icon" : "line-chart",
	"type" : "visualization",
	"version": "1.0",
	"preview" : "QlikLogo.png",
	"author": "John Doe"
}

This is what it looks like in the Assets panel or Library panel:

Custom extension appearing in assets panel, with selected preview image in popup to the right

Creating a custom preview image

You can create your own preview image. When creating a custom preview image there are some practices to consider.

Image type

It is recommended to use Portable Network Graphics (PNG) images or images of other bitmap formats.

Image size

The recommended image size of a custom preview image is 140 px x 140 px.

Image colors

There are no limitations or restrictions when it comes to colors.

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!