wp-shortcake / shortcake-bakery

A fine selection of shortcodes for WordPress
42 stars 16 forks source link

Juxtapose.js Doesn't Render when Jetpack Lazy Load is Enabled #218

Open mrjarbenne opened 6 years ago

mrjarbenne commented 6 years ago

Jetpack 5.8 has included a new Lazy Load functionality. When enabled, the images in a Juxtapose.js Image Comparison shortcode don't ever render.

Example: https://sandbox.commons.hwdsb.on.ca/2018/02/test-2/

ebinnion commented 6 years ago

Hello there,

In Automattic/jetpack#8787, I've added the ability to bypass process images via a couple of methods. Pending that PR being merged, we should be able to provide compatibility if y'all will add a specific class to your images.

Feel free to ping me 👋