Prevent Images With Custom URL From Opening In Lightbox?
-
I’m working on a site with a large number of images that link to pages on the site. I don’t want those links to open in a lightbox. The site also has single images that I want to open in a lightbox; those images have their “link to” set to “media file.” In ARI Fancy Lightbox settings, if I check “convert links to images,” the images with links to custom URLs open the page in a lightbox instead of the links opening the new page.
I see in the documentation that I could add the class “no-lightbox” to the images with custom URLs to prevent them from opening in a lightbox, but the number of images with custom URLs, and the chance that someone will forget to add the class to new images, makes it impractical.
Is there a better way to prevent images with custom URLs from opening in a lightbox?
- The topic ‘Prevent Images With Custom URL From Opening In Lightbox?’ is closed to new replies.