Page 1 of 1

Please help! Calling an image in a pop-up

Posted: Thu Apr 16, 2020 8:11 pm
by EVerheggen
I have been looking for days now, but really can't find it. So please help me. The answer is probably very simple, but there is so much information that I just can't find it.

I am making a tour of an art gallery. Each painting gets a Point Hotspot info type. Click on the hotspot to open a pop-up. In the pop-up is a photo of the painting and a description.

In the assets folder are all the photos of the individual paintings: 01.jpg up to 19.jpg

In my skin I get the image to show when I use Properties > External Image > External URL: assets/06.jpg

Question 1: in stead of 06.jpg I want to use any of the text fields in the Point Hotspot - Properties (like Description or Target or Link Target URL).

I tried using the description field. So the External URL could be assets/$(hd)

But that does not work.

Apparently I am not reading the Description field of my Point Hotspot, because if I call it in a text box, I don't get any result either.
So maybe my entire "information" container does not know where to look? I tried adding Hotspot Proxy ID (Point-06) to the container ("information"), but that does not do the trick.

These are probably mistakes every beginner makes, but it really drives me crazy.

Please HELP!

localhost_53823_W__hic1M_index.html - Google Chrome 16-4-2020 20_09_13.png
localhost_53823_W__hic1M_index.html - Google Chrome 16-4-2020 20_09_13.png (3.06 MiB) Viewed 1958 times
This is the result.
The yellow box does not show $(hd) and $(hs)
The pink text is not what I typed in the text box (the content of the text box is ignored? why?)

Re: Please help! Calling an image in a pop-up

Posted: Sat Apr 18, 2020 10:47 pm
by Hopki
Hi,
Information from a hotspot is only available while the mouse is over the hotspot.
So you need a mouse click, set value action that reads and sets the information of hotspots title, description and target text fields.
So the target would be set to the external image loader, the description to the infobox body text and finally the title to the popups title text box.
Regards,

Re: Please help! Calling an image in a pop-up

Posted: Sun Apr 19, 2020 7:19 pm
by EVerheggen
In this topic Martin gave the solution: viewtopic.php?f=13&t=14452

Re: Please help! Calling an image in a pop-up

Posted: Sun Apr 19, 2020 7:34 pm
by Hopki
I knew I had answered this!
:x