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
Supporting organizations: 
Module developed and maintained on Realityloop time

Project information

Releases