Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi
i need to create a functionality in which the user shall click on an object (text object with image inside) and go through a list of images. These images shall be shown in a text object.
table is of the form:
load image_id,
image_path,
image_contact_id
from table;
this table is then associated to the rest of the data model via image_contact_id
thanks
See this blog post: http://community.qlik.com/blogs/qlikviewdesignblog/2013/05/31/loading-images-into-qlikview
thanks, i did that already, but the requirement is to click on a button to display in sequence the images. it is like what you said, but with a previous step.
i think, this might be possible with a macro, right?
You can bundle all the images to you Qlikview:
Images:
BUNDLE LOAD
Images, Path
FROM ...
And then, in the text object, write down this expression (and check the 'image' option in the visualization):
='qmem://Images/'&FieldValue('Images',$(vImgNum))
vImgNum is a variable, which you must increase every time you click on the object (with a trigger), unless it reaches the number of images loaded, that you have to initialize it to one again.
Try it. Good luck
Hi felcar2013. Did you finally tried it?
Here is an example:
hi Iosu
thanks, nice solution.
the problem i have, i do not want to load the images in the qvw doc.
using bundle, i will be adding the images to my doc and i will get more than 10,000 images of about 2 to 4 MB , which will represent a lot
i am using the link to the photo
Hi,
Instead of simple Load function you can use "Info Load" , this might will full fill your requirement.
hi
i have the table with customer_id, and photo_id. i receive the data like that. I loaded this two fields and then made a load on load to create the path to the image or photo. something like this (loading from qvd,
track_photo:
load *,'D:\.........\Photo\'&%cus_track_photo__ID&'.jpg' as cus_track_photopath;
LOAD contact__ID,
photo__ID
FROM $(vPath_QVD)\cus_track_photo.qvd(qvd);
but this is not working
info load *,'D:\.........\Photo\'&%cus_track_photo__ID&'.jpg' as cus_track_photopath;
LOAD contact__ID,
photo__ID
FROM $(vPath_QVD)\cus_track_photo.qvd(qvd);
Did yopu try this?
hi
thanks for your answer, I did not try. I did it differently. I used a normal load and then in text box i wrote the field where there is the path to the image. I included navigation buttons and the user can go forward and backward.
what is the advantage of using info load? bundle load is not recommended in this case, because i will need to load thousands of pictures. Is not the same how i did it, as if i use info load? i link an external file path.