Thanks for the information @gdpelican
I haven’t looked at the Discourse code, but could it be that Discourse is activating two features of the lightbox plugin that conflict with each other? (“click to zoom” and “click to advance”)? Perhaps we could switch off the “click to zoom” behaviour, and then we’d be home dry?