Multiple Gallery Hotspots

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Ink8455
Posts: 48
Joined: Tue Nov 29, 2016 10:34 am

Can anyone help?

I'm trying to add multiple gallery hotspots to a project. Unfortunately, I can only open up the original gallery hotspot images or none at all.

So far,

I’ve opened up Hopki's Gallery Hotspot project.
I have added a folder of images called gallery_1 to the project folder and to the output folder.
Images within the folder have been renamed img_00 onwards.
In the project, I have added a new hotspot

I’ve copied the original gallery hotspot in skin editor and renamed it ht_gallery_1

I’ve added Variables
Gallery_1_show_hide True / False False
Gallery_1_pictures Number 0


In the ht_gallery_1 Actions, I’ve added


Mouse Click Set Variable Value Se(-) true galery_1_show_hide
In the Logic Block Settings, I’ve added the following

*gallery_show_hide _ true And
*gallery_1_show_hide _ true


Screen shots below

What am I doing wrong?


Many thanks in advance.
Attachments
Capt5.JPG
Capt5.JPG (43.42 KiB) Viewed 4876 times
Capt4.JPG
Capt4.JPG (31.5 KiB) Viewed 4876 times
Capt3.JPG
Capt3.JPG (33.99 KiB) Viewed 4876 times
Capt2.JPG
Capt2.JPG (263.07 KiB) Viewed 4876 times
Capt1.JPG
Capt1.JPG (27.34 KiB) Viewed 4876 times
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I have made a small project.
This uses gallery folders gallery00 and gallery01 which has etc be aded to the output folder after creation.

When you add the second Gallery component you are asked weather to use the same variable or not.

Screen Shot 2017-06-29 at 13.47.24.png
Screen Shot 2017-06-29 at 13.47.24.png (22.55 KiB) Viewed 4851 times
You need to Rename the variable, you will be asked a few times for each element that uses it.

Open each external loader and modify the path to the gallery, example the element gallery_picture00 under the URL has the path:
gallery00/img_00.jpg
gallery00/img_01.jpg
etc.

Don't forget to update the Preloader found in the gallery_controler container to include the new path.
Regards,
Hopki
Attachments
gallery.zip
(777.35 KiB) Downloaded 447 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
nikivan
Posts: 8
Joined: Fri Oct 16, 2009 10:45 pm

I know this is an old thread, but I am hoping someone will reply. The gallery project looks great, but is there a way to move the 'close' button and the navigation controls closer to the picture? (see below). Right now the controls are hard to spot and associate with the galley, especially on large screen and small images.
Thanks, Nick.
Pano2VR gallery - make controls user friendly.jpg
Pano2VR gallery - make controls user friendly.jpg (169.59 KiB) Viewed 4042 times
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Nick,
There is if you are going to fix the size of the image loader.
The gallery at the moment displays the image and uses percentage so it is possible for the image to be larger than the loader.
The attached project fixes the size of the external loader that shows the images.
It is now fixed to the size of the image, so now uses a logic block to detect player width and then changes it size.
The close button now also uses logic blocks to detect player width and also changes its size and position.
Regards,
Hopki
Attachments
gallery.zip
(25.46 KiB) Downloaded 276 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
nikivan
Posts: 8
Joined: Fri Oct 16, 2009 10:45 pm

Hi Hopki,
Thank you for the quick reply. I've checked the skin, and while the close button is now properly positioned, the navigation control is still located on the bottom right corner. I also need this layout to work with multiple galleries. Are you able to post an updated version of the multiple gallery project with the 'close' button and the navigation controls located close to the image?
Thank you,
Nick
nikivan
Posts: 8
Joined: Fri Oct 16, 2009 10:45 pm

Bump.
CSeldon
Posts: 5
Joined: Fri Sep 08, 2017 3:43 pm

I solved this problem by adding each gallery component to it's own container.
galleries screenshot.PNG
galleries screenshot.PNG (99.84 KiB) Viewed 3919 times
Post Reply