maddy83
Forum Replies Created
-
Sure. Sorry I was mistaken that it was same.
I will create a new thread.
Btw, I tried with different options for photo display (i suppose that is what you mean by picking a different lightbox) but without any luck.Hi,
I am new to the plugin.
I went through all the steps nicely explained in the doc.
However, when I click on any album from my website, I get a popup that is dark and doesn’t show the photos inside the album. The popup is empty (there is a close button at the top right)I did a little debug of your JS. I am not sure what goes wrong but I noticed that there is some issue with “title”.
here is the shortcode:
[gallery type='google' view='albums' access='all' crop_thumb='crop' columns='auto' title_position='below' main_size='1600' thumb_size='150' popup='hide' layout='square']The JS code where it fails is here:
var n = document.querySelector(“#baguette-img-” + t + ” .baguetteBox-spinner”);
u.removeChild(n),
!s.async && e && e()
console shows: TypeError: Argument 1 (‘child’) to Node.removeChild must be an instance of NodeFor some reason, the “baguetteBox-spinner” doesn’t showup in the popup.
I went bit more to see that the following condition is never met (necessary)
to add the spinner
if (u.id = “baguetteBox-figure-” + t, u.innerHTML = ‘<div class=”baguetteBox-spinner”><div class=”baguetteBox-double-bounce1″></div><div class=”baguetteBox-double-bounce2″></div></div>’, s.captions && l)
The value of “l” is always empty string. l seems to be the title
it comes from this code:
l = “function” == typeof s.captions ? s.captions.call(d, r) : r.getAttribute(“data-caption”) || r.titleSorry for too many details. But I hope that it is some mistake of mine in choosing a setting.
I tried with diffint setting for tittle:
[gallery type='google' view='albums' access='all' crop_thumb='crop' columns='auto' title_position='regular' main_size='1600' thumb_size='150' popup='hide' layout='square']
With this, when I click first time on an album , it shows 1st pic in a flash and then disappears. The same error is shown in the console of the browser.If you want, I can show my webpage where it happens (for a brief period of time I can go live with this issue)
Thanks
Maddy