• Resolved William

    (@sykamore)


    Excellent plugin, thank you!

    Just wondering if you’ve tried using a button to trigger the gallery, and how you would go about doing it. Basically, hide the gallery thumbnails and just show a button that says “View Gallery”. This button triggers the gallery lightbox. Thoughts?

    https://wordpress.org/plugins/wp-featherlight/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Robert Neu

    (@fatmedia)

    Hey William,

    Thanks! I definitely have done things like that using this plugin, but it requires some custom code. In theory I think it might be possible to do this using featherlight’s data attribute API rather than writing additional JS, but I haven’t tried doing it that way myself.

    If you have any code that’s semi-working or an example of some markup that you’re trying to get working post it here and I’ll do my best to help you work your way through whatever issues you’re running into.

    Thread Starter William

    (@sykamore)

    Thans Robert. I went ahead and built a custom solution with the Featherlight Library.

    William, mind sharing your solution?

    Robert, by far the leanest meanest lightbox for WP, thanks a bunch!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Open gallery from button click’ is closed to new replies.