The folder images/ should contain 5 PNG files, each serving as the logo of the widget in different areas of visibility.

📘

The size of each file should not exceed 300 KB.

The images logo_min.png and logo_medium.png are mandatory if the widget works in cards, as they are used in all lists, contacts, and leads cards in minimized and expanded states, respectively.

logo_medium.png 240px x 84px

logo_medium.png 240px x 84px

logo_min.png 84px x 84px

logo_min.png 84px x 84px

Additionally, the images logo.png, logo_main.png, and logo_small.png serve the same purpose as logo_min.png and are also required.

logo_main.png 400px x 272px

logo_main.png 400px x 272px

logo.png 130px x 100px

logo.png 130px x 100px

logo_small.png 108px x 108px

logo_small.png 108px x 108px

If the widget works in the digital pipeline, you need to specify the digital_pipeline in the locations and add the logo_dp.png logo with a resolution of 174×109 to the images/ folder.

logo_dp.png 174px x 109px

logo_dp.png 174px x 109px


What’s Next

Read about Twig templates