This module adds a "before/after" image comparison effect for image and media fields. It allows users to upload two images and display them side-by-side with a slider to highlight differences.
This module provides a new formatter for image and media image fields with beforeAfter effect to compare images.
Cocoen module using Cocoen beforeAfter plugin
Instalation:
- Download and enable module
- Download plugin and extract to /libraries directory, correct path should be /libraries/cocoen/dist/js/cocoen.min.js
- Select cocoen beforeAfter formater, remember that you have to upload 2 images or media
Supported versions:
- 8.x-1.x supports Cocoen 2.x
- Cocoen 3.x is not supported - we can add a new branch to support this version
Drupal 10–11
Ask your assistant about Cocoen BeforeAfter
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
- image Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.