Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
rbarboza
Partner - Contributor II
Partner - Contributor II

Dynamic images

Good afternoon, my client needs that when a supplier is selected, an image of 
the brand that said supplier represents is displayed. Is there a way in qlik cloud?
thank you
 

 

Labels (3)
2 Solutions

Accepted Solutions
SterreKapteijns
Partner Ambassador
Partner Ambassador

After a long search I have succeeded in this! Steps:

  • upload all the required images in your application via Text & Image object
  • create a straight table (Qlik Visual Bundle)
  • add a dimension that represents the filter, in this case supplier name
  • within the dimension settings, go to presentation and select 'Image' in stead of 'Text' 
  • add the images via URL
  • then I created an if-statement based on the selections to present a certain image that is uploaded in the tenant

for example:

=
if(Supplier = 'Supplier A', 'https://*YOURTENANTNAME*.eu.qlikcloud.com/api/v1/apps/*YOUR APPID*/media/files/SupplierA.jpeg',

if(Supplier = 'Supplier B', 'https://*YOURTENANTNAME*.eu.qlikcloud.com/api/v1/apps/*YOUR APPID*/media/files/SupplierB.jpeg',
etc.
)))

Might be very time-consuming if you have a lot of suppliers... but it worked for me. 

SterreKapteijns_0-1732615884768.png

 

 

 

Video – Adding images to a straight table - Qlik Sense | Qlik Help

View solution in original post

rbarboza
Partner - Contributor II
Partner - Contributor II
Author

Thank you very much for your time. I solved it the same way, except that I loaded the web address into a table, so it is automatically taken when a particular provider is selected.

rbarboza_0-1732640728032.png

The images are uploaded to the media library. I take them directly from there. 
To do that I use the path that I indicated in the excel
 

 

View solution in original post

2 Replies
SterreKapteijns
Partner Ambassador
Partner Ambassador

After a long search I have succeeded in this! Steps:

  • upload all the required images in your application via Text & Image object
  • create a straight table (Qlik Visual Bundle)
  • add a dimension that represents the filter, in this case supplier name
  • within the dimension settings, go to presentation and select 'Image' in stead of 'Text' 
  • add the images via URL
  • then I created an if-statement based on the selections to present a certain image that is uploaded in the tenant

for example:

=
if(Supplier = 'Supplier A', 'https://*YOURTENANTNAME*.eu.qlikcloud.com/api/v1/apps/*YOUR APPID*/media/files/SupplierA.jpeg',

if(Supplier = 'Supplier B', 'https://*YOURTENANTNAME*.eu.qlikcloud.com/api/v1/apps/*YOUR APPID*/media/files/SupplierB.jpeg',
etc.
)))

Might be very time-consuming if you have a lot of suppliers... but it worked for me. 

SterreKapteijns_0-1732615884768.png

 

 

 

Video – Adding images to a straight table - Qlik Sense | Qlik Help

rbarboza
Partner - Contributor II
Partner - Contributor II
Author

Thank you very much for your time. I solved it the same way, except that I loaded the web address into a table, so it is automatically taken when a particular provider is selected.

rbarboza_0-1732640728032.png

The images are uploaded to the media library. I take them directly from there. 
To do that I use the path that I indicated in the excel