5 Replies Latest reply: May 24, 2017 11:33 AM by Ganesh Reddy RSS

    Adding images in a sense mashup

    Petter Grundström

      Hi,

       

      Here comes a really stupid question.

       

      I am playing around with mashups and I created a mashup example using the sense workbench (I am using Sense Server 2.01).

      Everything looks fine until I start playing around with the HTML.

      I want to add some images but all I get are broken images. I am guessing it has to do with the path of the image files. However, I have put the files in the same folder as the extension HTML-file. (i.e. C:\ProgramData\Qlik\Sense\Repository\Extensions\<name of mashup>)

       

      What am I doing wrong? Do I need to place the image files somewhere else?


      Outtake from the code:

      ...

      <default example code>

      ...

      <body style="overflow:auto"><div id="CurrentSelections" class="qvobjects" style="position:absolute; top:0px; left:0px; width:100%; height:35px;"> </div>

       

       

      <div id="Testimage" style="position: absolute; top: 100px; left: 100px; width: 780px; Height: 392px; border:1px dotted black" >

        <img src="Test.PNG"/>

      </div>

      <div id="QV01" style="position: absolute; top: 491px; left: 100px; width: 400px; Height: 200px" class="qvobject"></div>

      <div id="QV03" style="position: absolute; top: 491px; left: 500px; width: 400px; Height: 200px" class="qvobject"></div>

      <div id="QV04" style="position: absolute; top: 691px; left: 100px; width: 400px; Height: 200px" class="qvobject"></div>

      <div id="QV05" style="position: absolute; top: 691px; left: 500px; width: 400px; Height: 200px" class="qvobject"></div>

      <div id="QV06" style="position: absolute; top: 691px; left: 900px; width: 400px; Height: 200px" class="qvobject"></div>

      ...

      <default code>


      Thankful for any help!

       

      Best regards

      Petter Grundström