Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Media Library Thumbnail Override

Security covered Under active development 31 sites

This module enhances the Drupal Media Library by replacing generic placeholders with custom icons for non-image media types, using file extensions to display specific graphics. It ensures consistent sizing and maintains proper HTML and CSS for seamless integration.

This Drupal module overrides the default thumbnails for non-image media items in the Media Library, displaying custom icons based on the file extension instead of generic placeholders.

Features

  • Automatically detects file extensions for media items (documents, videos, audio, etc.)
  • Displays extension-specific icons (e.g., `pdf.png` for PDF files)
  • Falls back to a generic icon if no extension-specific icon exists
  • Applies the `media_library` image style for consistent sizing (220x220 pixels)
  • Maintains proper HTML markup and CSS classes for seamless integration
Drupal 10–11

Ask your assistant about Media Library Thumbnail Override

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

  • media Drupal core
  • media_library Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 Sep 16, 2025
1.x-dev Dev 10–11 Sep 16, 2025