Qlik Community

Qlik Sense App Development

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

etrotter
Contributor II

Linking an Image in a Table

Hello,

I have created a table and I have a link in it referring to a image on my drive but I cannot figure out how to get it to link so when I click on the link in the table it pulls up the image. Is this possible on qliksense? and if so how to I create the syntax for it.

Thanks in advance!

7 Replies
felipedl
Valued Contributor III

Re: Linking an Image in a Table

Hi Erica,

See the following extension and see if it helps you.

Qlik Branch

Felipe.

etrotter
Contributor II

Re: Linking an Image in a Table

Hey Felip, I got that but I am not sure how to make the images show up:

This is from the script:

Images:

Load * INLINE [

Image, Image Location

    Bermuda, https://qliksense/content/in S4 Data Store/beach1.jpg

    Bahahmas, https://qliksense/content/in S4 Data Store/beach2.jpg

    Alaska, https://qliksense/content/in S4 Data Store/beach3.jpg

];

and when I put it into the extension it looks like this:

Capture.PNG

Should it populate by itself, or do I have to write a function to get it to recognize that it is a link? the "enable embeded images" is set to on

felipedl
Valued Contributor III

Re: Linking an Image in a Table

Hi Erica,

See the attached QVF file and sample image (put it in "C:\Users\<username>\Documents\Qlik\Sense\Apps" and the image at "C:\Users\eferibe\Documents\Qlik\Sense\Content\Default").

Hope it helps.


Felipe.

etrotter
Contributor II

Re: Linking an Image in a Table

will this still work if I am using Qliksense desktop?

etrotter
Contributor II

Re: Linking an Image in a Table

Sorry Qliksense Enterprise?

felipedl
Valued Contributor III

Re: Linking an Image in a Table

Yes, it should work on Qlik Sense Enterprise.


As to the linking of the image, you'll have to do the following (text from the Branch Project):

"If you want to have a locally stored image displayed in a table and you are using Qlik Sense Enterprise, then you must first upload your image(s) to a Content Library via the QMC. You can then reference the images from that location. (In this example, I have created a Content Library called 'MyImages' and uploaded the image 'sense.png')"

Images: Load * INLINE [ Image, Image Location Qlik Server Image, https://qliksense/content/MyImages/sense.png Qlik Outside Image, https://dyflex.com.au/wp-content/uploads/2014/11/sense1.png ];
etrotter
Contributor II

Re: Linking an Image in a Table

Yes, I saw that, and the picture is downloaded into the QMC. I apologize, my Qliksense desktop is not opening so I cannot see the app you created. Do i need to write a function in the UI or script to signal to Qliksense that it is a link, or should it just recognize it?