Is there a way to create actions for each photos in a gallery?

Is there a way to create actions for each photos in a gallery ? If not,
will it be available in next updates ?
For example, a gallery with different cars, if i click or double click on a
specific car it goes to its page.

  1. Add text widget. Disable widget maximizing
  2. Place it above your gallery.
  3. Select it and add a script (script.txt). Click edit script in the interaction inspector and paste the script.

See example in the attachment

Can you post the script? Where is this attachment? I am having this issue and cannot figure out how to resolve it.

To navigate to the required page on double click use following action:

Where script code is:

function () {
    return document.childByName("Image 1").content.itemIndex + 2
}

See the example navigate_using_gallery.pma (1.1 MB)


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.