Drupal is a registered trademark of Dries Buytaert

image_404_fallback

9 sites No security coverage
View on drupal.org

The Image 404 Fallback module intercepts requests for missing image files and serves a configurable fallback image instead of returning a 404 error. This ensures that broken image links display a fallback rather than a broken image icon, maintaining a cleaner appearance on your site.

Features

  • Automatically detects 404 image requests
  • Serves a configurable fallback image
  • Supports multiple image formats (JPG, PNG, GIF, WebP, SVG, BMP, ICO, AVIF)
  • Includes a default fallback image (SVG)
  • Configurable fallback path via admin interface
  • Proper HTTP headers and caching

Post-Installation

  1. Navigate to Configuration > Media > Image 404 Fallback Settings (`/admin/config/media/image-404-fallback`)
  2. Optionally specify a custom fallback image path:
    • Enter an absolute path (e.g., `/var/www/html/placeholders/my-fallback.png`)
    • Or a path relative to the Drupal root (e.g., `sites/default/files/fallback.png`)
  3. If left empty, the module will use its default fallback image located at `images/placeholder.svg`

Activity

Total releases
2
First release
Nov 2025
Latest release
3 months ago
Release cadence
2 days
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Nov 16, 2025
1.0.x-dev Dev Nov 14, 2025