Page 1 of 1

Multiple Gallery Hotspots

Posted: Wed Jun 28, 2017 4:17 am
by Ink8455
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.

Re: Multiple Gallery Hotspots

Posted: Thu Jun 29, 2017 2:53 pm
by Hopki
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 4888 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

Re: Multiple Gallery Hotspots

Posted: Tue Mar 19, 2019 3:47 am
by nikivan
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 4079 times

Re: Multiple Gallery Hotspots

Posted: Tue Mar 19, 2019 10:43 am
by Hopki
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

Re: Multiple Gallery Hotspots

Posted: Tue Mar 19, 2019 6:55 pm
by nikivan
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

Re: Multiple Gallery Hotspots

Posted: Mon Mar 25, 2019 8:26 am
by nikivan
Bump.

Re: Multiple Gallery Hotspots

Posted: Thu Mar 28, 2019 5:28 am
by CSeldon
I solved this problem by adding each gallery component to it's own container.
galleries screenshot.PNG
galleries screenshot.PNG (99.84 KiB) Viewed 3956 times