Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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 (3)
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