I have an issue whereby I’m populating a lightbox using a cms list and it works fine. However, if some cms fields aren’t populated, a blank thumbnail appears in the lightbox thumbnail list at the bottom of the screen. I’ve made a jsfiddle out of it and I’m looking to find a solution that removes lightbox thumbnail which are empty.
Open the JsFiddle and Run. Then click “more photos from the event” to see what I’m talking about
Any help would be greatly appreciated!
Thanks in advance