Streaming live at 10am (PST)

CMS LIghtbox - Remove Empty Thumbnails

Hi Webflowers,

I have successfully implemented a dynamic Lightbox gallery using custom code.

You can see on the showcase collection pages when you open the Lightbox there’s empty squares in the areas that don’t have images. Is there any way to hide these empty thumbnails if not in use using javascript?! It bugs out with a loading wheel if you click the LR arrows.

Many Thanks

Did you try this ?

      if ($(this).find(".lightbox-image").attr("src") === "")         

From here : Full CMS Lightbox!