Support » Plugin: Easy FancyBox » Flexbox gallery and data-fancybox attribute

  • Resolved Dennis Booker


    I have a localhost site with a gallery built using flexbox. Easy Fancybox works great to open images in the lighbox, but unlike when it is used with Wp [gallery], there are no next/previous arrows. The Fancyapps Fancybox documentation refers to the attribute data-fancybox=”gallery” to create a gallery out of a group of items (images). Is it possible to do something like that with Easy Fancybox? I tried just adding the data-fancybox to the href but no luck.
    Easy Fancybox is just an excellent plugin and unlike many it works flawlessly.
    Thank you,
    Dennis Booker

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RavanH


    Hi Dennis, for this version of FancyBox you need to set a common rel attribute, like rel="gallery-1" but you can also set the option Autogallery to “All in one gallery” on Settings > Media. This will automatically bind all image links on the page into one gallery.

    Perfect, both methods work. Thank you and thanks again for this excellent plugin.
    Dennis Booker

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.