Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
PedroCunha
Contributor II
Contributor II

Images in angular Extension

Hello Qlik Sense experts,

I am currently developing an extension in angular and I am struggling to grasp where to place images that will be referenced in the template.

I am placing all the images in the same folder  as the main javascript file , qext , template.html,...

Template_angular.PNG

 

 

 

 

 

But currently they are not being loaded when page is loaded: sources.PNG

 

Do you know how should i proceed  ?

 

Many thanks in advance,

Pedro

Labels (2)
1 Solution

Accepted Solutions
PedroCunha
Contributor II
Contributor II
Author

Hello again,

Meanwhile I found the solution . Source URLs in HTML of images stored in extension folder must be set to /extensions/[name of Qext & main js file]/[image file].

BR,
Pedro

View solution in original post

1 Reply
PedroCunha
Contributor II
Contributor II
Author

Hello again,

Meanwhile I found the solution . Source URLs in HTML of images stored in extension folder must be set to /extensions/[name of Qext & main js file]/[image file].

BR,
Pedro