Title: Cannot close Lightbox
Last modified: May 30, 2020

---

# Cannot close Lightbox

 *  Resolved [craigrogersuk](https://wordpress.org/support/users/craigrogersuk/)
 * (@craigrogersuk)
 * [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/)
 * Hi again,
 * Sorry, just as I thought I had arrived at a fully integrated site, I have stumbled
   across another issue.
 * If I launch the Lightbox (Lightgallery), the features all work (zoom, actual 
   etc.) but clicking the X or pressing Esc. does not close the lightbox it does
   nothing?
 * Many thanks again
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-close-lightbox%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/#post-12915769)
 * You seem to have a second lightbox plugin (“Responsive Lightbox LightGallery”?)
   that seems to be throwing a JavaScript error on that page. I am not sure if the
   error is preventing the closure, of if the fact that you have a second lightbox
   is interfering with the functionality of Photonic.
 *  Thread Starter [craigrogersuk](https://wordpress.org/support/users/craigrogersuk/)
 * (@craigrogersuk)
 * [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/#post-12921758)
 * Yes, I suspected that maybe the case, it’s strange as no plugs have been updated
   recently and the issue wasn’t there before it also doesn’t seem to happen on 
   all pages/posts. Weird, I’ll start by disabling the 2nd plug in and take it from
   there.
 *  Thread Starter [craigrogersuk](https://wordpress.org/support/users/craigrogersuk/)
 * (@craigrogersuk)
 * [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/#post-12922210)
 * Yes, you were correct. I have disabled the other plugin and it seems to have 
   fixed that.
 * Problem now is that my images hosted on the webserver don’t open up in the Lightgallery
   box.
 * I have seen this option which I have selected;
 * _Photonic Lightbox for non-Photonic Images
    Selecting this will let you use Photonic’s
   lightbox for non-Photonic images. This eliminates the need for a separate lightbox
   plugin.
 * I assume that the plugin monitors for image links and send them to the selected
   Lightbox.
 * I have, however, found a very odd situation.
 * If you click the photo directly in the blog post, it opens up in the default,
   terrible, WordPress lightbox.
 * For example, on this page
 * [https://www.craigrogers.photography/always-on-the-lookout-lycosa-tarantula-scorpion/](https://www.craigrogers.photography/always-on-the-lookout-lycosa-tarantula-scorpion/)
 * However, if you click the image from the Blog Listing page, it opens up in the
   Lightgallery lightbox from Photonic
 * For example, the same blog post in the blog listing
 * [https://www.craigrogers.photography/896-2/page/2/](https://www.craigrogers.photography/896-2/page/2/)
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/#post-12922407)
 * You will also need to activate the option “Include Photonic JS for non-Photonic
   Images / Videos”, right under the option you have cited.
 *  Thread Starter [craigrogersuk](https://wordpress.org/support/users/craigrogersuk/)
 * (@craigrogersuk)
 * [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/#post-12922813)
 * I also need to open my eyes…….. 🙂
 * Again, many thanks. I will be “Buying you a Coffee” for all the fantastic work
   and help.
 * Regards
 * Craig
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/#post-12922843)
 * Great! I am marking this resolved.

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

The topic ‘Cannot close Lightbox’ is closed to new replies.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/cannot-close-lightbox/#post-12922843)
 * Status: resolved