Part 3: Single Image popup with Description

Overview - Part 3

In Part 3, we will look at Adding a Single Image popup with a Description.

Adding the Hotspot

1. Open the RPGT_Tutorial_Simplex.p2vr project if it’s not already open

2. Set the Viewer window to Hotspot mode and click in the Panorama to set a Point Hotspot

3. With the Point Hotspot active set the following in the Properties - Point Hotspot panel:

  • Type: URL

  • Skin-ID: ht_gallery

  • Title: Australian Nature

  • Description: (Open the Tutorial files > Nature > Australian Nature.txt file. Copy and add the data contained within the Gallery Description section)

  • Link Target: 1 (the number of images in the gallery)

  • Target: nature (used to identify elements in the skin and the name of the gallery folder in the To Upload > images folder ) (figure #1)

Figure #1: Point Hotspot Properties

Note: Images are loaded into the project via the Output > Advanced > Assets panel. It is preconfigured to open files from the To Upload > images folder

4. In the Tutorial files > Nature copy the Nature folder into the To Upload > images folder and rename it ‘nature’

Note: if your image isn’t displaying make sure that the name of the folder in the To Upload matches the name in the hotspot target as it’s case sensitive

5. Remove the .txt file and re-name the Frilled Neck Lizard.jpg to 1.jpg (figure #2)

 

Figure #2: nature images ready for uploading into the project

 

Set Skin Parameters

Note: There are a number of skin parameters that allow us to do global variations in the project before output. Rather than having to go in and change a variable via the skin we can do it in the Edit Skin Configuration window

1. Open the Edit Skin Configuration window

2. Uncheck the following:

  • Show Variable Previews (Debug)

3. Check to make sure the Slide Image Type is jpg (no ‘.’) (figure #3)

 

Figure #3: Setting the Skin Parameters

 

4. Select ‘OK’

5. Output the project

Note: It should look like the example below

Note: When we mouseover the hotspot we see the name of the Gallery in the tooltip.

Clicking on the icon opens the popup with the title, image and description.

Opening the direct link in an iPad or iPhone we see the responsive popup (Figure #4, 5, 6)

Note: This is the end of Part 2 move onto Part 3: Single Image Gallery

Figure #4: iPad landscape

Figure #5: iPhone landscape

Figure #6: iPhone Portrait

Note: This is the end of Part 3 move onto Part 4: Multi-Image gallery with Description