This module allows you to compare two images side-by-side using a slider. You can apply this comparison to image fields in your Drupal site to present before-and-after views.
Imager Formatter using the JuxtaposeJS javascript library to allow comparing two images with a slider.
Installation
- Download and enable the module.
- Download the latest version of JuxtaposeJS and extract it to
/librariesdirectory, correct path for the javascript file should be/libraries/juxtapose/build/js/juxtapose.js.
If you are usingcomposer, the Image JuxtaposeJS can be automatically installed using thecomposer.libraries.jsonfile. - Select Juxtapose Before After Slider formatter in your multivalued
image field display configuration. - Remember that you have to upload at least 2 images.
Alternative modules
Ask your assistant about Juxtapose Slider Image Formatter
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha2 | Pre-release | 10 | Apr 28, 2024 | ||
| 1.0.0-alpha1 | Pre-release | 10 | Apr 28, 2024 | ||
| 1.0.x-dev | Dev | 10–11 | Apr 28, 2024 |