Skip Navigation

[Resolved] How to launch a gallery lightbox with a textual link

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 3 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#2201611

We are using a gallery view, which we limited to 3 images, the gallery could contains more repeating images.
Now, below the gallery, we would like to place a text, like "see all 10 photos", what would be the best way to add the gallery lightbox link to the text? So when clicking on the text the related lightbox will appear.

Thank you!

#2201743

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Using the Toolset Gallery block you can display the repeating image field with lightbox but there is no way to add a link and when you click on that it should open a lightbox with remaining images.

Why dont you use "Image Slider" block? where it will offer you the feature that you can adjust number of columns you want to display and with lightbox. Will that work for you?

For example - the three images you see with the following post is displayed using Image Slider block:
=> hidden link

#2201861

Thank you for the suggestion but we would like to stick with the gallery as is.

I think we could have a solution using the following to display the SEE ALL PHOTOS text

(then via css only show the first instance of the

  • <div>

      [wpv-for-each field="wpcf-featured-property-images"]

    • See all photos

    • [/wpv-for-each]

    </div>

  • #2202425

    Minesh
    Supporter

    Languages: English (English )

    Timezone: Asia/Kolkata (GMT+05:30)

    Yes - you can use it in that way.