Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Media Dupe Detect

No security coverage Under active development

This module prevents duplicate file uploads in the Media Library. When a user tries to upload a file that already exists, it identifies the duplicate and suggests reusing the existing media item. This helps keep your media library clean and organized.

Features

The Media Duplicate Detect module enhances the Media Library experience by automatically identifying duplicate file uploads. When a user attempts to upload a file that already exists, the module checks the file hash and suggests using the existing media item instead.

Key features include:

  • Detects duplicate media items based on file hash
  • Prompts users to reuse existing media instead of uploading duplicates
  • Role-based permission to bypass duplicate detection (for trusted users)
  • Field-level configuration for enabling duplicate checks

Use cases:

  • Keep your Media Library clean and organized
  • Avoid bloating your site with repeated uploads of the same image or document
  • Improve media management for large content teams or editorial workflows

Post-Installation

After enabling the module and its dependencies:

  1. Go to the form display configuration of the content type or entity type using a media field.
  2. Click the gear icon on the Media Library widget settings.
  3. Enable the “Detect duplicates” checkbox to activate duplicate detection for that field.
  4. Navigate to People > Permissions to allow specific roles to bypass duplicate detection using the “Bypass media duplicate upload prevention” permission.

No additional configuration pages or content types are added by the module.

Additional Requirements

  • Drupal Core Media (version 10 or 11)
  • Drupal Core Media Library
  • File Hash module – used to compute and compare file hashes

Ask your assistant about Media Dupe Detect

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

Tracked releases
3
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta2 Pre-release 10–11 Mar 26, 2025
1.x-dev Dev 10–11 Mar 26, 2025
1.0.x-dev Dev 10–11 Mar 26, 2025