This project is not covered by Drupal’s security advisory policy.
This module provides a new formatter for image field using the Image Comparison Slider javascript library.
Installation
- Download and enable the module.
- Download the Image Comparison Slider library using the
npm pack img-comparison-slidercommand and extract it to/librariesdirectory, correct path for the javascript file should be/libraries/img-comparison-slider/dist/index.js.
If you are usingcomposer, the Image Comparison Slider library can be automatically installed using thecomposer.libraries.jsonfile, you can also install it manually by running the following command:composer require npm-asset/img-comparison-slider - Select Image Comparison Slider formatter in your multivalued
image field display configuration. - Remember that you have to upload at least 2 images.
A dedicated submodule, Image Comparison Slider for Media, allows you to use ICS with medias of type Image (or referencing other medias of type Image via this module).
Alternative modules
Supporting organizations:
Development
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Content display, Media, Site structure
1 site reports using this module
- Created by mably on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-beta1
released 30 April 2024
Works with Drupal: ^10
Crash fix when style not defined
Install:
Development version: 1.0.x-dev updated 15 May 2024 at 16:02 UTC




