• Alexander

    (@alexanderbepunkt)


    Hello,

    I’m looking for a solution to use NextGen Galleries by adding a REL tag, so that different galleries on the same page can be distinguished by using the REL option of FancyBox for WP.

    Trying to group images in gallery automatically, by choosing “FancyBox” at the NextGen menue does group the images of a gallery but also changes the style of the FancyBox: Galleries apper in FancyBox with white border and title out whereas single pictures appear with no borders and title in, which is the wanted style.

    If I deactivate the option “FancyBox” in NextGen Galleries than the style of the galleries is the same like single pictures but the gallries are not grouped and therefore the “forward” and “previous” arrows are missing.

    So I guess I have disable the “FancyBox” option in NextGen and use the REL attribute to make galleries work manually.

    In a previous version of NextGen I was able to add:
    class="fancybox" rel="%GALLERY_NAME%"
    but unfortunately this option doesn’t exist any more. So the question is:

    HOW TO ADD THE REL ATTRIBUTE??

    I’m using WP 4.1.1 with inFocus theme and NextGen Galleries Version 2.0.77 and FancyBox Version 3.0.6. I also purchased NextGen Plus Version 1.1.3.

    You can find an example on my page at
    https://www.mouseclick.com/unterwegs/thailand/alle-jahre-wieder/
    where you can see galleries and single pictures. At the time writing this the “FancyBox” option in NextGen is enabled, so the arrows are there but the style between galleries and single pictures is different.

    Any ideas or suggestions are welcome.

    P.S.: Please don’t steal the thread by suggesting any other plugins as FancyBox is the theme plugin and should not be changed.

  • The topic ‘NextGen and the REL attribute’ is closed to new replies.