cipherdevgroup/wp-featherlight

Improve Jetpack Gallery Handling

Closed this issue · 2 comments

The Tiled Gallery module in Jetpack rewrites the markup for embeded galleries, so we'll need to expand what we're searching for in our findGalleries() jQuery function.

I think this will probably be the last auto-handled gallery we add support for. Searching for more selectors will likely have a negative performance impact.

If other gallery plugins would like to integrate with WP Featherlight they'll need to add featherlight data attributes when our plugin is enabled.

This should be fixed in the dev branch, but I'm going to leave this open for a bit on the off chance that someone sees it and can improve the performance of some of the JS I'm using to auto-find things.

I think this is about as good as it's going to get for right now. If anyone sees any way to improve anything, please reopen this issue.