Automatically embed Knightlab Juxtapose JS using Linkz.ai
Juxtapose JS links get a hover preview, and a click opens the before and after slider in a lightbox on your page for readers to try.
Add to your websiteJournalists and teachers use JuxtaposeJS, a Knight Lab tool, to compare two images with a slider, for example a street before and after a storm, or an old photograph next to a recent one. A Juxtapose link opens one comparison, and the reader drags the slider to see how the two pictures differ.
On a site with Linkz.ai, pointing at a Juxtapose link brings up a popup with the comparison's title, a line about it and a thumbnail. A click opens the slider in a lightbox on your page, so a reader can drag between the two pictures and then go back to your story. A local history society can open then and now photos, and a news site can open a before and after from a report. To embed Knightlab Juxtapose JS comparisons, there is no code to copy. Comparison links already in your posts work after the plugin or snippet is installed, without coding.
Supported URLs
Linkz.ai automatically generates rich previews for links matching these URLs:
- https://juxtapose.knightlab.com/*
Checked working on
How it works
- Add Linkz.ai to your website with the WordPress plugin, or paste one line into your site settings. No coding needed.
- Every Knightlab Juxtapose JS link is upgraded into a rich link preview automatically.
- Visitors hover or click to see the content embedded right on your page.