ht_image_text with option to enlarge the image?

Q&A about the latest versions
Post Reply
illjo
Posts: 4
Joined: Thu Dec 30, 2021 3:55 pm

Hi,

Can someone tell me how to configure an ht_image_text so that the image can be enlarged on click? Perhaps there is also a corresponding hotspot that you can post here for download.

Thanks!
User avatar
SMerriss
Posts: 60
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio
Contact:

What I would do in this situation if I am understanding it correctly, I would put an action on the text box to toggle the scaling element, so when you click on it, the size would change from say 100% to 250% or whatever scale you are wanting.

Your question is very vague, so if you could provide some more details I may be able to help you more.

- Spencer
Spencer Merriss
Multimedia Specialist

Website: https://www.spencermerriss360.com/
Email: merriss.spencer@gmail.com

Feel free to reach out! 🌟
illjo
Posts: 4
Joined: Thu Dec 30, 2021 3:55 pm

Okay, I'll try to describe it better. Actually, it's quite simple:

I used this hotspot

https://iwpww.de/s/Cd6MBJsnQf8T5cJ

(no worry, this is a link to our server to download the Pano2VR files)

that Martin Hopkins sent me and modified it a bit in the skin editor - for example, made the image bigger. I only changed the arrangement of the elements, nothing else.

So I've placed the hotspot, type ht_image_text.

When I click it, the linked image opens, with the text underneath. The image cannot be clicked to make it bigger. So far, so good and I guess intended. What I'd like do add is the possibility to display the image in a larger size.

If your idea of putting actions in the text box is a solution, I would like to know if there are any hints somewhere on how to create the actions. I am quite new to Pano2VR and not firm with coding, CSS and the actions/logic board.
User avatar
SMerriss
Posts: 60
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio
Contact:

I just whipped this up, let me know if this is what you were looking for.

I just created a new external image, made a variable that changes when you click on the image, and displays the larger image, then doing the inverse. I'm sure there is a more eloquent way of doing it but this is what I came up with in just a few minutes.

Let me know if this helps.

- Spencer
Attachments
larger_image_popup.ggsk
(7.46 KiB) Downloaded 110 times
Spencer Merriss
Multimedia Specialist

Website: https://www.spencermerriss360.com/
Email: merriss.spencer@gmail.com

Feel free to reach out! 🌟
illjo
Posts: 4
Joined: Thu Dec 30, 2021 3:55 pm

Hi Spencer,

thanks. Yes, I need something like that. I have no idea how to build my own hotspots. Is there any information somewhere on how to create the actions for a hotspot? Do you know where I can find information about what to enter in the Actions menu in the Actions, Parameters and Destination fields? Unfortunately I have not found anything in the documentation or in the forum.
User avatar
SMerriss
Posts: 60
Joined: Mon Sep 28, 2020 2:12 pm
Location: Columbus Ohio
Contact:

Whenever I get lost or need a better understanding of what I'm doing, I always refer to Tony Redhead's website to see if he has a tutorial pertaining to my project.

https://tonyredhead.com/

- Spencer
Spencer Merriss
Multimedia Specialist

Website: https://www.spencermerriss360.com/
Email: merriss.spencer@gmail.com

Feel free to reach out! 🌟
Post Reply