Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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