Title: Lightbox not loading
Last modified: August 31, 2016

---

# Lightbox not loading

 *  Resolved [wilmardo](https://wordpress.org/support/users/wilmardo/)
 * (@wilmardo)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/lightbox-not-loading/)
 * Dear Developer,
 * First I want to thank you for this awesome plugin. Half a year ago I switched
   from Nextgen to MaxGalleria and it was a vast improvement!
 * But I think the last update broke something, today a visitor noticed that the
   lightbox is not working anymore. So I started investigating and testing and I
   cannot find a solution.
    What I did so far:
    - Recreated all the galleries
    - Deactivated all the other plugins except MaxGalleria
    - Tried all the possible settings under Templates > Image Tiles
 * But after all this still no avail. I am using the gallery in combination with
   the dFactory Responsive Lightbox. Because the problem was noticed today I have
   no clue if it was the update but it was the last change on my website so I am
   guessing that should be it.
    On the link at the bottom you can see what I mean,
   there is some loading but no lightbox.
 * [https://wilmardenouden.nl/albums/rock-a-rail-2015/](https://wilmardenouden.nl/albums/rock-a-rail-2015/)
 * [https://wordpress.org/plugins/maxgalleria/](https://wordpress.org/plugins/maxgalleria/)

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

 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lightbox-not-loading/#post-7171476)
 * wilmardo,
 * Looking at the HTML of your gallery I see that each image is missing its link
   and the rel tag ‘lightbox-0’. I assume that you are using Maxgalleria 4.27 and
   WordPress 4.4.2. If you can send me admin access to your site, I’ll take a look
   at its configuration and settings. My email address is [alan@maxfoundry.com](https://wordpress.org/support/topic/lightbox-not-loading/alan@maxfoundry.com?output_format=md).
 *  Thread Starter [wilmardo](https://wordpress.org/support/users/wilmardo/)
 * (@wilmardo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lightbox-not-loading/#post-7171531)
 * Hi Alan,
 * Thanks for the response! I have sent you an email with the credentials and you
   are correct about the versions, both the latest.
 * Also an issue I found lately completely unrelated to this. If I change some settings
   in MaxGalleria > Settings > Image Tiles these are not synchronized to the already
   existing galleries. Is this a design decision or a bug?
 * Thanks again for the response!
 * Wilmar
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lightbox-not-loading/#post-7171543)
 * The ways settings works is they set the defaults for the galleries and the gallery
   options override the default settings.
 *  Plugin Author [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lightbox-not-loading/#post-7171545)
 * wilmardo,
 * Looking at your site I found a number of things to fix. I see in the Responsive
   Lightbox settings that the Selector field was blank. I added the default class‘
   lightbox’ which the Responsive Lightbox plugin needs to work. Also I found you
   had set the click opens setting in the gallery to image link, but you have not
   added any image links to the images. These are user defined links that you can
   set up. So instead of specifying image links, you should select mouse click opens
   to original image. These changes improve the HTML output of Maxgalleria but it
   still not opening an image in a lightbox. And the reason for this is a likely
   due to a javascript error that is generated on the site which can be seen by 
   opening up the browser’s console window. And when I review the list of javascript
   files currently loaded I see two instances of jQuery:
    wp-includes/js/jquery/
   jquery.js’ ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js
 * Having both of these running may be the causing the error on your site which 
   is keeping the lightbox from running. So you should try to removing one of these
   jQuery libraries and see if that fixes the javascript error.
 *  Thread Starter [wilmardo](https://wordpress.org/support/users/wilmardo/)
 * (@wilmardo)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lightbox-not-loading/#post-7171566)
 * Hi Alan,
 * Thanks for taking a look! The first two issues you address were a result of me
   trying to get it fixed again (aka changing all the settings and checking the 
   output).
    Today I updated my whole site and tried to fix all the errors I could
   find but still no avail. I could not find the Javascript error you were talking
   about but I am loading one JQuery now. Still jquery.js and jquery.min.js but 
   that is something in Responsive Lightbox when I disable it these two includes
   are gone. Good to know that the issue is not with MaxGalleria, I will open a 
   support thread at the Responsive Lightbox forum. Might be related to [this issue](https://wordpress.org/support/topic/responsive-lightbox-166-not-compatible-with-wp-44?replies=6)
 * Thanks for the explanation of the settings, that is all clear now. It would be
   nice if there is an option to synchronize the settings in MaxGalleria > Settings
   > Image Tiles to all existing galleries. Right now when I change something in
   MaxGalleria > Settings > Image Tiles I need to edit all the existing galleries
   by hand.
 * Thanks again for your time!
 * Greetings,
 * Wilmar
 *  Plugin Author [maxfoundry](https://wordpress.org/support/users/maxfoundry/)
 * (@maxfoundry)
 * [10 years ago](https://wordpress.org/support/topic/lightbox-not-loading/#post-7171673)
 * Thanks for that link Wilmar.
 * We’re glad you are enjoying MaxGalleria! Version 5 is coming soon.

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

The topic ‘Lightbox not loading’ is closed to new replies.

 * ![](https://ps.w.org/maxgalleria/assets/icon-128x128.jpg?rev=1225417)
 * [MaxGalleria](https://wordpress.org/plugins/maxgalleria/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maxgalleria/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maxgalleria/)
 * [Active Topics](https://wordpress.org/support/plugin/maxgalleria/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxgalleria/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxgalleria/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [maxfoundry](https://wordpress.org/support/users/maxfoundry/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/lightbox-not-loading/#post-7171673)
 * Status: resolved