Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Image 404 Fallback

31 sites No security coverage
View on drupal.org

This module replaces broken image links with a specified fallback image, preventing broken image icons from appearing on your site. It automatically detects missing image requests and serves a configurable fallback, supporting various image formats.

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
5
First release
Nov 2025
Latest release
1 month ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.2 Stable May 21, 2026
1.0.1 Stable May 20, 2026
1.0.0 Stable May 11, 2026
1.0.0-alpha1 Pre-release Nov 16, 2025
1.0.x-dev Dev Nov 14, 2025