Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
wangxusq
Contributor III
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
ErikWetterberg

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

View solution in original post

22 Replies
Chanty4u
MVP
MVP

try to give full path of image and try

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

wangxusq
Contributor III
Contributor III
Author

Thanks for your response.

I tried it, but stil failed. Any idea?

Chanty4u
MVP
MVP

you have to redirect the image path

wangxusq
Contributor III
Contributor III
Author

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?

Chanty4u
MVP
MVP

picture should be in server .

i think that qlikshare folder is in server only right?

jonathandienst
Partner - Champion III
Partner - Champion III

Some things to look at:

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


Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
wangxusq
Contributor III
Contributor III
Author

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

Chanty4u
MVP
MVP

give image full path in the code and try below

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

wangxusq
Contributor III
Contributor III
Author

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