Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to insert image in textbox.

Hi guys ,

plz find the attachment.

I have an excel file having filelds imgID,Location containing 3 images and there location.
After loading i get two fields imgID and location.

Now i want to use textbox to display image after cliking in ImgID listbox.

Plz help me how to get an image in textbox.

Thanks

Hitesh

14 Replies
rajni_batra
Specialist
Specialist

Use INFO load in the script ,

then in text object Check Representation as Image and use expression Info(ID).

Hope his helps!!!

Regards,

Not applicable
Author

please send me the qvw file?

Not applicable
Author

Refer the attachment, if any doubts please post it...

amars
Specialist
Specialist

Hi Dipak,

     just change the textbox like the below

Image.JPG

Thanks....

Not applicable
Author

Hi amar, Yes, you are absolutely correct.That come after you load the script.

Using the info() also, u can achieve it.Please refer to my attachment Thanks

Not applicable
Author

Hi rajni,

I am not getting any image.

its displaying path in txt.

plz find attachment

Not applicable
Author

Hi Deepak,

As i am using personal edition so i wont be able to see your attachment.
Please go through my earlier posts and suggest me solution.

Thanks,
Hitesh.

Not applicable
Author

Step-1: /*Load this script in your script*/

Images:

Bundle LOAD ImgID,Location

FROM flags\Image_Ex.xlsx (ooxml, embedded labels, table is Sheet1);

Step-2: After step-1, create a text box and go to its properties and in the expression editor type the following:

=Info(ImgID)

Step-3: Change the Representation to Image in drop down.By default, it is Text. Click OK.

Done...Cheers!!!

Not applicable
Author

Hi guys,

Still i am not getting proper solution for how to insert image in textbox.

please refer my below attachment and help me out.

thanks.