Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #21905


    How can I ignore prettyphoto at certain link.

    I would love to add something like rel=”noprettyphoto” to a href…

    Is there a way?




    Yes, you can use the noLighbox class – use it like:

    <a href="mylink.html" class="noLightbox" />




    Thanks Dude, but it does not work.

    I even tried target=”_blank” either a href /download.php?file=images/file.jpg – still the script overrides the class and script… any ideas?


    Hi motylanogha,

    Can you try adding this link to a test page and then linking it here so we can see it live?

    <a class="noLightbox" href="">Youtube</a>




    The problem is that the class noLightbox which I add to a – does not work at all. It doesn’t disable the lightbox function..


    Can you post a link to your test page/website please? I tried to reproduce this issue on my test server but eg following link:

    <a href="" class="noLightbox"><img src=""></a>

    did not open in a lightbox which shows me that the noLightbox class works as expected. If you want to remove the overlay too open up angular/js/avia.js and replace:

    $(options.autolinkElements, this).not(".noLightbox a").contents('img').each(function()


    $(options.autolinkElements, this).not(".noLightbox,.noLightbox a").contents('img').each(function()

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘disable prettyphoto at particular links’ is closed to new replies.