Skip to main content
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Rambo
Contributor II
Contributor II

Dynamic image loading from media library and display into text object

Hi All,

I am having Qlik Sense SAAS and I have uploaded some images into media library.

I wanted to display images from media library dynamically (into text object).

For example: Media library is having images: Apple.jpg, Google.jpg

On frontend, a filter box have Company Name- Values Apple, Google.

Text object should display Apple.jpg upon selecting Apple from filter box.

Please suggest if a simple solution available.

What's the Image URL path (stored in media library- In App)

Thanks

Labels (1)
  • SaaS

2 Replies
theresaa
Contributor III
Contributor III

Did you ever get a solution of how to find out the URL of an image in the default media library?

Jay_Vantis
Partner - Contributor
Partner - Contributor

Hi all,

You can put below expression in the Image URL box after selecting 'Image' in Representation after creating a dimension and 'Add URL' in Image setting of 'Table' chart to get the images from SaaS in-app library.

Adding fields and variables in the expression can make it responsive to user selection.

 

='https://[SaaS tenant address]/api/v1/apps/[app id]/media/files/[image file name]'

 

Example of adding fields in the expression:

='https://abc.sg.qlikcloud.com/api/v1/apps/03e9094-5ff4-4b97-b1e6-f93fcaa3252/media/files/'&[STYLENUMBER]&'_'&[COLORCODE]&'-01.png'