Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.6.18 — Update released for Drupal core (10.6.18)! Release: Drupal 11.4.8 — Update released for Drupal core (11.4.8)! Release: View Unpublished 8.x-1.4 — Minor update available for module view_unpublished (8.x-1.4). Release: Menu Item Extras 3.1.3 — Minor update available for module menu_item_extras (3.1.3). Release: Navigation Extra 1.0.6 — Minor update available for module navigation_extra (1.0.6). Release: Entity proximity select (Webform) 1.2.1 — Minor update available for module eps (1.2.1). Release: Xymatic 1.0.1 — Minor update available for module xymatic (1.0.1). Release: Llm Enhanced Search 1.0.0 — Initial release available for module llm_enhanced_search (1.0.0)! Module Revived: GenoRing Theme 1.0.0 — Theme genoring_theme updated after 17 months of inactivity (1.0.0). Security Coverage: LLM Offramp — Module llm_offramp now has official Drupal security advisory coverage.

Scratch Compare

No security coverage Drupal 10–11
View on drupal.org

Scratch Compare provides an accessible before/after image
comparison slider as a Drupal Field Formatter. Attach it to
any unlimited Media reference field across content types and
paragraph types — no custom coding required.

Drag the center divider left or right to reveal more of either
image, creating a stunning visual comparison effect directly
inside your Drupal site.

Features

- Drag-to-reveal before/after image comparison slider
- Built as a Drupal Field Formatter — works on any Media reference field
- Compatible with content types and paragraph types
- Supports unlimited media reference fields
- Fully accessible — keyboard and screen reader friendly
- No external libraries required
- Compatible with Drupal 10 and 11

Post-Installation

After enabling the module, go to the Manage Display settings
of any content type or paragraph type that has an unlimited
Media reference field. Select "Scratch Compare" as the field
formatter. Add two images to the field and the comparison
slider will render automatically.

Additional Requirements

- Drupal 10 or 11
- Media module (Drupal core)
- Field module (Drupal core)

No additional libraries required.

Similar projects

Unlike other image comparison modules, Scratch Compare works
as a native Drupal Field Formatter — integrating seamlessly
with any existing Media reference field without requiring
separate block or paragraph configuration.

Depends on

Dependencies of the latest stable release

  • field Drupal core
  • media Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
4 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Sep 28, 2026