• Resolved jcpacelli

    (@jcpacelli)


    SmugMug galleries are displaying just fine and so is the overlaid popup panel. However, when I try bringing up the lightbox for an individual image, nothing displays or i get some sort of ‘source cannot be found’ error.

    After inspecting the page, I get 6 jQuery runtime errors. Each are “Uncaught TypeError: cannot read property ‘createDocumentFragment’ of null”

    The specific page I am doing these tests on is: https://www.therevrepublic.com/galleries/

    Any help or at least a step in the right direction would be greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    My guess is that you picked an image size that doesn’t exist. For the “Main image size” pick “Largest” as the option, and let me know if that helps.

    Thread Starter jcpacelli

    (@jcpacelli)

    Thank you! That fixed that part of the issue; the images are now displaying. However, I suspect there may be another issue because the FancyBox lightbox, for example, doesn’t load at all. After inspecting, there are still the same jQuery errors.

    I also can’t seem to get the ‘Buy’ button to display on any of the lightboxes. Is this because I am still in the SmugMug trial (I realize this may be a dumb question and I do plan on subscribing provided I can get all this to work)

    Thanks in advance for your help

    Plugin Author Sayontan Sinha

    (@sayontan)

    I am seeing the jQuery errors in your JS Console even on your home page, where you don’t have any Photonic galleries running. It seems like doing a “hover” on any part of the page is triggering the error. I am not sure if that is due to another plugin, as I haven’t seen it on any other site with Photonic. I also don’t know if this is due to a conflict between Photonic and another plugin (it shouldn’t be – Photonic uses the standard jQuery distributed by WP), but the easiest way to help resolve this is by tracking down the plugin that is causing this issue.

    Currently Fancybox, since the script is not activated on your site, I cannot comment on what might be the case, however there are two possibilities:

    1. The JS errors from the plugin mentioned above might be preventing Fancybox from launching.
    2. Alternatively, you might be encountering an issue that another user reported, which I wasn’t able to replicate at my end. If you want to use Fancybox, you might want to try Fancybox2, the instructions of which are here.

    I also noticed that you have set a style:
    .photonicModalOverlay{z-index:99999;}

    This is causing the Lightgallery lightbox to go behind the overlaid modal, since the Lightgallery layers have their z-index values at 1040 and 1050.

    Plugin Author Sayontan Sinha

    (@sayontan)

    And sorry, I forgot. Mea culpa about the “Buy” feature. I normally have 2 week release cycles when I get into development; I started putting in the Buy feature for SmugMug (that was pretty much the only platform for which I could show a Buy link), then I got sidetracked into doing much more heavy-lifting activities in terms of layout. When I released 1.64, I forgot that I had added a “Buy link” option for SmugMug, so the option remained without the functionality.

    I will address it in the next release.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SmugMug Photos not displaying in lightbox’ is closed to new replies.