Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
Not applicable

How to show an image in QLIK extension

Hello Support,

     I have created a Qlik sense extension. In my extension, I have a folder images/.
    The output of my extension is html element constructed in the paint method.
    I want to be able to display images inside my html element that are coming from images/ folder.

    Example: My extension name is DisplayOrderSection and inside DisplayOrderSection, i have images folder that has images:

    In my html, I have an html image tag,

                         var imagePath = "Extensions/DisplayOrderSection /images/";

                         var order1Image = '<img src=' + imagePath + 'order1.jpg>';


                         return qlik.Promise.resolve();

the image is not displayed in item 2.

Please let me know.

Thank you.