Page 1 of 1

Make image clickable

Posted: Tue Jul 02, 2019 5:46 am
by pobber1
Hi,

I have a number of images in my report (image data is base64). The images are contained inside image components and have the stretch option enabled.

Is there a way to make the images clickable so when the user clicks on them they will open the full size version for the user to view?

Thanks.

Re: Make image clickable

Posted: Tue Jul 02, 2019 9:17 am
by Lech Kulikowski
Hello,

You can try to use Drill-Down interactions and by click open page with the full image.
https://demo.stimulsoft.com/#Js/ListOfProducts

Thank you.

Re: Make image clickable

Posted: Tue Jul 02, 2019 1:13 pm
by pobber1
Hi, thanks for the quick reply.

I did like the link shows and it worked inside the Windows version of Stimulsoft Reports. However, when I use that report in the Js version I get blank page where the drill down should be and this error
in the console 'Cannot read property 'sti_is' of null'

Any ideas?

Re: Make image clickable

Posted: Tue Jul 02, 2019 1:46 pm
by Lech Kulikowski
Hello,

Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.

Re: Make image clickable

Posted: Tue Jul 02, 2019 2:28 pm
by pobber1
Hi,

Please see attached.

Thanks.

Re: Make image clickable

Posted: Tue Jul 02, 2019 7:00 pm
by pobber1
Sorry, I forgot to attach the JSON, will upload first thing in the morning....

Re: Make image clickable

Posted: Wed Jul 03, 2019 7:09 am
by pobber1
Hi Lech,

Please see attached JSON.

Thanks.

Re: Make image clickable

Posted: Wed Jul 03, 2019 6:36 pm
by pobber1
I managed to get this working by recreating the page and datasource, must have had some setting the viewer didn't like.

Re: Make image clickable

Posted: Thu Jul 04, 2019 8:45 pm
by Lech Kulikowski
Hello

Ok.
Please let us know if you need any additional help.

Thank you.