Title: Conflicts with jQuery Lightbox
Last modified: August 21, 2016

---

# Conflicts with jQuery Lightbox

 *  Resolved [leighorangeleafcom](https://wordpress.org/support/users/leighorangeleafcom/)
 * (@leighorangeleafcom)
 * [12 years ago](https://wordpress.org/support/topic/conflicts-with-jquery-lightbox/)
 * jQuery Lightbox attaches to ‘attachment_link’ filter, and returns a value that
   WPGalleryCustomLinks::replace_link cannot handle.
 * My suggestion would be to simply remove all attachment_links filters before beggining
   the gallery code alteration, and then replace them once finished.
 * [https://wordpress.org/plugins/wp-gallery-custom-links/](https://wordpress.org/plugins/wp-gallery-custom-links/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * (@fourlightsweb)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/conflicts-with-jquery-lightbox/#post-4906916)
 * Do you have an example of this happening? On my test site, it appears to be working
   fine (minus lightbox plugin errors/warnings):
 * [http://fourlightsweb.dev.fourlightsweb-3.com/gallery-test/](http://fourlightsweb.dev.fourlightsweb-3.com/gallery-test/)
 * The first thumbnail is linked to google.com, and the second and third thumbnails
   are set to keep onclick effects and are linked to their normal images, which 
   show up with lightbox when clicked.
 * I would definitely look into the attachment_link filter if it was causing problems,
   but I would like to be able to duplicate the issue first.
 *  Thread Starter [leighorangeleafcom](https://wordpress.org/support/users/leighorangeleafcom/)
 * (@leighorangeleafcom)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/conflicts-with-jquery-lightbox/#post-4906924)
 * Unfortunatly no I can’t however I can tell you we’re using:
    jQuery Lightbox 
   Version 0.24 | By Pedro Lamas
 * If you are using the same plugin and cannot reproduce it must be something on
   our end causing the issue as there is alot of custom work.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Conflicts with jQuery Lightbox’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gallery-custom-links_d3d5d9.svg)
 * [WP Gallery Custom Links](https://wordpress.org/plugins/wp-gallery-custom-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gallery-custom-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gallery-custom-links/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gallery-custom-links/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [leighorangeleafcom](https://wordpress.org/support/users/leighorangeleafcom/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/conflicts-with-jquery-lightbox/#post-4906924)
 * Status: resolved