• Resolved fredrik4

    (@fredrik4)


    I tried the responsive lightbox and for most part it functioned as how I wanted it to be. However there is one small issue that I have with. The thing is that I have a gallery on my site containing clickable images that links to others pages on my site. I do not want these images to come up in lightbox when clicking on them. A other lightbox viewer I tried seemed to understand that the gallery on that page should not be in ligthbox view, but I preferred the look of the dFactory lightbox so I would prefer if it was possible to get that to work with it.

    So what I’m looking for is if there possible to somehow turn off lightbox view for that particular page. Is there a way to do that?

    https://wordpress.org/plugins/responsive-lightbox/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try adding:

    data-rel=”norl” on each of those links you want excluded.

    Not sure if the author’s code extends this mask feature to galleries too; i just did a cursory glance of his code and seems it might have been forgotten. Easy patch code i can give u if need be.

    I decided to deinstall this plugin due to unfixed bugs and much more granular control of the underlying lightbox script(s) that i wanted (this dFactory plugin is nothing more than a simple <a> tag selector. The selectable but independently made, freely available lighbox scripts which this plugin scooped up from across the web is what is doing the actual work). So for me i am happier working with the lightbox script directly than through this plugin.

    Cheers
    Kimberly.

    Thread Starter fredrik4

    (@fredrik4)

    Thanks for your reply.

    First of I see that I forgot to mention that I have installed a plugin that makes the gallery images into clickable links. I’m not sure if that affects your answer though. But it is this gallery with these links that I do not want to be shown in lightbox view.

    This may sound stupid I’m not really familiar with how these codes stuff works. When you say I should add data-rel=”norl”, do you mean that I should add it front of each individual links in the gallery?

    Plugin Author dFactory

    (@dfactory)

    Unfortunatelly unlike image links, the WP gallery can’t be controlled with data-rel=”norl”.

    What you can do instead is to disable lightbox on specific page where you have the gallery – via filter hook described in our support forum.

    Thread Starter fredrik4

    (@fredrik4)

    I found a solution: I downloaded a plugin called plugin organizer that did disabled it on the page I wanted for me. 🙂

    Hi dFactory,

    you mentioned this filter hook, please can you post a link to where this is explained as I can’t find it?

    What you can do instead is to disable lightbox on specific page where you have the gallery – via filter hook described in our support forum

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Turn off lightbox view for a specific gallery’ is closed to new replies.