terrymun/Fluidbox

Does not work when using lazy image loading plugin

Closed this issue · 1 comments

Fluidbox fails to attach itself to anchors with more than one element in them. The lazy image loading plugin I use adds a noscript element in the anchor element below the image which is why Fluidbox skips it.

I'd suggest removing that 'feature' and in the case of multiple elements you pick the first img element. I might propose a pull-request later today.

Consider this resolved, relaxed selection criteria for Fluidbox initialization.