Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to add local image to extension?

Hello,

I am trying to add an image from a location different than my Extension folder. It doesn't find the location

Is that possible?

the location of the image is in:

"/QvAjaxZfc/QvsViewClient.aspx?public=only&name=4_Files/Images/Players/Italy/"

var playerModel = function (name, raphaelEl, image) {

                var self = this;

                self.Name = name;

                self.Render = raphaelEl;

                self.ImageSrc = image;

                self.ImageRender = null;

                self.TextRender = null;

                self.TextBackground = null;

                self.Render.ParentModel = self;

            };

var player1 = new playerModel("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=4_Files/Images/Players/Italy/Tomaso Allan.jpg", rsr.circle(dimX,dimY, 10),"/QvAjaxZfc/QvsViewClient.aspx?public=only&name=4_Files/Images/Players/Italy/Tomaso Allan.jpg");

  player1.Render.attr({

  stroke: "#fff",

  fill: "#f00",

  "fill-opacity": 1

  });

0 Replies