Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to load student images into a dashboard so when the user selects the ID for that student, the image appears. I have bundle loaded a table in script with two fields - first the ID which then joins to other data within the dashboard and secondly a field containing the filepath to the image. The load appears to work but I cannot get the text object to show the photos:
I create a text object, put in the code
=info([Student ID])
and change the Representation to Image. I also set it to be conditional so it only shows when just one Student ID is selected. This just shows '-' rather than the image. However, if I go into the expression and select images from the tabs at the bottom, I can select 'Student ID/' from the Image Folder drop down list but then it just lists all the images for me (and I can see them) but they don't appear in the text box. I want to just see the image depending on the selected Student ID.
The thing that seems to be missing is something like 'qmem' - this appears in all the other examples I've found when you look a the text object properties BUT I can't get this to change anywhere.
Can anyone help?
Thanks
Alison
Hi Alison,
have you checked out this posting?
https://community.qlik.com/blogs/qlikviewdesignblog/2013/05/31/loading-images-into-qlikview
HTH
Andy
Hi Andy
Thanks - I've had a look through that one and I've done everything it says but I still can't seem to get it to work.
Thanks
Alison
Hi Anil
Thanks for this link - it has helped me a bit! Now I have a chart (straight table) that shows the photos BUT it won't show a photo when just one ID is selected (which is what I need to show!).
Any ideas why this might be the case?
Thanks
Alison
Hi
Post Sample Screen shot what you are getting
Hi Alison,
could you upload a sample app?
Andy
Hi Anil,
Here's two screenshots. The first when I don't select a particular person and the second when I have selected one by their ID.
Thanks
Alison
Hi
Try keep " No Totals " in Expression tab
Hi Andy
I can't upload the actual sample file as it contains personal photos of students. I have tried to create another file with some sample files and this time it worked! This makes me think it is either to do with the file format (I am uploading bmp files) or the upload process (I am loading from an Oracle server). But I don't understand why I can see the photos when I have all of them there but not one on its own.
Thanks for your help
Alison