Title: Image lightbox functionality is not working
Last modified: July 24, 2024

---

# Image lightbox functionality is not working

 *  Resolved [alithewpdev](https://wordpress.org/support/users/alithewpdev/)
 * (@alithewpdev)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/image-lightbox-functionality-is-not-working/)
 * I think it’s not working( It’s working when I’m loggedIn) because I have installed
   WP-Rocket plugin. So can you please tell me the file name which i need to exclude
   in the WP-Rocket plugin?
 * If this is something else please do let me know.

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

 *  Plugin Author [Firelight](https://wordpress.org/support/users/firelightwp/)
 * (@firelightwp)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/image-lightbox-functionality-is-not-working/#post-17920116)
 * Hi [@alithewpdev](https://wordpress.org/support/users/alithewpdev/) – 
   It’s been
   a while since I worked with WP Rocket. I just did some searching myself. It looks
   like you could exclude all of the Easy Fancybox JS by adding this to their exclude
   field:
 *     ```wp-block-code
       /wp-content/plugins/easy-fancybox/(.*).js
       ```
   
 * I took that line from this page. This page also suggest you can test a page without
   WP Rocket’s extra minification by add ?nowprocket to the end of the url for any
   page.
 * [https://docs.wp-rocket.me/article/915-find-the-right-js-files-to-exclude-from-minification](https://docs.wp-rocket.me/article/915-find-the-right-js-files-to-exclude-from-minification)
 * It might be worth trying both of those options to see if we can get the plugin
   working. If so, we’d confirm that it is a plugin conflict. If needed could narrow
   down which exactly JS file is causing issues in your case.
 *  Plugin Author [Firelight](https://wordpress.org/support/users/firelightwp/)
 * (@firelightwp)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/image-lightbox-functionality-is-not-working/#post-17934502)
 * Hi [@alithewpdev](https://wordpress.org/support/users/alithewpdev/) – On the 
   assumption that excluding the files above will work, I’m going to go ahead and
   mark this thread resolved. Obviously, if it is still not working, let me know
   and I’m happy to troubleshoot further.

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

The topic ‘Image lightbox functionality is not working’ is closed to new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Firelight](https://wordpress.org/support/users/firelightwp/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/image-lightbox-functionality-is-not-working/#post-17934502)
 * Status: resolved