In WordPress, Jetpack has an ‘Image Compare’ feature. You add two images in it and it adds a slider in between. You can move the slider to see more portions of one image. An example can be found here: https://avif.io/
So recently, we moved from WordPress. I was under the impression that the image compare won’t work in Ghost as it was a feature provided by Jetpack plugin.
But to my surprise, it works the same in Ghost as well.
It’s an unfinished alpha feature that isn’t supposed to be used outside of core development - the alpha toggle list is there to enable the core team to selectively enable pieces of code whilst working on them without having to manage the nightmare of long-running git branches.
None of those features are ready to be used in live sites and you will run into usability issues or problems upgrading at some point if you’re making use of them.
If code is finished it will be released in a normal release or if it’s ready but needs wider testing then the feature will be promoted to beta and be available to everyone on the labs page.
Sorry to bring this back from the dead but I’ve switched to Ghost from CMS and it looks like the built-in solution for image comparison was dropped. Is there another service I can use that lets me do that? I wanted to compare photos from two phones I’m reviewing.
You’ve demoed that we can have multiple of these in an article, which is great, as I plan on doing that. So, do I use it as a snippet and post it before or after two adjacent images each time I want to use this? Or do I just put it in the post’s code injection and then anytime there are two adjacent images, this automatically fires up?
Lastly, can I use Left/Right instead of Before/After? I will be comparing two photos from different phones so something like “Left: iPhone 17 Pro” and “Right: iPhone 16 Pro” sounds better captions