Support » Plugin: Lightview Plus » [Plugin: Lightview Plus] Selective disabling of lightbox?

  • When I add the following code Lightview greps the anchor link and sees filename.jpg as an image file type so is automagically adding class=”lightview” in the source, which causes the image to open in a lightbox:

    <a href="">Download Image</a>

    In this case, I don’t want to open the image in a lightbox. I’m trying to force a download instead. I can force download non-image file types fine. This is only a problem for image file types.

    How can I prevent the class from being added or otherwise disable the image from opening in a lightbox when I use “download.php?file=” in the anchor link?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Disregard. I thought “Lightview” was the culprit becuase my client had two “lightbox” plugins installed, and I didn’t notice the other one… the actual culprit. My apologies.

    Nope, nope. I was right the first time. I linearly tested all my plugins and Lightview Plus is definitely the culprit. Not only do I not want specific images to open in a modal-window, I also have a hand-crafted class and rel attribute in my anchor tag that Lightview is wiping out and replacing with it’s own class and rel. That is not good. Seems the plugin needs to be on the lookout for that and skip adding it’s magic properties. 🙂

    I’m hopeful that updates are still being done considering there hasn’t been one in the past six months. Please, please let me know that you’ve read this post and whether or not the solution I suggested will be considered.

    Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Lightview Plus] Selective disabling of lightbox?’ is closed to new replies.