Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

wangxusq
New Contributor III

How to add the picture in the Mashup

Hi all,

I created a mashup based the basic mashup template.Then I put a picture D:\QlikShare\StaticContent\Extensions\DemoTest(This is my mashup extension path).

Then I used the code  <img src="index.jpg"  alt="welcome" /> in my HTML.

But when I review the page on the server, the picture not show.

If I double-click the HTML file in the folder ,the picture can display.

So what's wrong?Please help. How to use the picture in the mashup?

1 Solution

Accepted Solutions
erik_wetterberg
Honored Contributor

Re: How to add the picture in the Mashup

Hi,

Did the import fail? Or did the import work but the image did not appear?

Before importing the new zip you need to remove the old version.

Erik Wetterberg

Erik Wetterberg
https://extendingqlik.upper88.com/
22 Replies
sureshqv
Esteemed Contributor III

Re: How to add the picture in the Mashup

try to give full path of image and try

<img src="d:/sample/index.jpg"  alt="welcome" /> i

wangxusq
New Contributor III

Re: How to add the picture in the Mashup

Thanks for your response.

I tried it, but stil failed. Any idea?

sureshqv
Esteemed Contributor III

Re: How to add the picture in the Mashup

you have to redirect the image path

wangxusq
New Contributor III

Re: How to add the picture in the Mashup

Maybe, I tried many kinds of paths,but still failed. 

So I want to know anything wrong? Need to load picture to server? If so ,how to?

sureshqv
Esteemed Contributor III

Re: How to add the picture in the Mashup

picture should be in server .

i think that qlikshare folder is in server only right?

MVP
MVP

Re: How to add the picture in the Mashup

Some things to look at:

  • Did you try "D:\QlikShare\StaticContent\Extensions\DemoTest\index.jpg"?
  • Is D: a real drive or a mapped drive?
  • Does the QS server account have access to the path?


Highlighted
wangxusq
New Contributor III

Re: How to add the picture in the Mashup

the picture path is my Mashup path, all files are in the QS default server.

sureshqv
Esteemed Contributor III

Re: How to add the picture in the Mashup

give image full path in the code and try below

delete the cache from the browser and try to check again ?

wangxusq
New Contributor III

Re: How to add the picture in the Mashup

Yea, I tried the path,but no work. A real drive and  QS server account have access to the path.

Can you try it on your server?

Thanks

Community Browser