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.

This module helps developers visualize and debug which responsive image styles are being used by the browser. It overlays information directly onto images, making it easy to see if the correct image size is selected for different screen sizes, which is particularly helpful when using `srcset` and `sizes` attributes. This tool is intended for development and testing environments only.

The Responsive Image Debugger module is a powerful tool for web developers working with responsive images in Drupal. It provides a simple yet effective way to visualize and debug responsive image selections made by the browser.

Features

  • Visual Debugging: The module overlays image sizes and the corresponding Drupal image style names directly onto images. This allows developers to see which image was selected by the browser.
  • srcset and sizes Attributes: Particularly useful for developers using the srcset and sizes attributes of the img tag. The module helps in understanding how different screen sizes affect the image selection process.
  • Optimizes Workflow: Developers can quickly identify if the correct image size is being used for various breakpoints, ensuring optimal performance and user experience.
  • Easy to Use: Simply enable the module, and it will start displaying the debugging information on responsive images throughout your site.

Additional Requirements

Only image_effects and it's dependencies.

Supported Image toolkits

Module should work with GD2, ImageMagick as well as GraphicsMagick toolkits.

Configuration

No additional configuration required. After enabling this module replaces the `ImageStyle` entity class and add additional Image Style Effect "Text Overlay" from image_effects automatically.

Danger

Do not use on production! During installation process module removes the styles folder in your site public folder.

Conflicts

This module conflicts with the imageapi_optimize module because both modules override the entity type image_style class.
When enabled - ImageStyle class from responsive_image_debugger will be used.
So this module should be used in a dev / testing environment for debugging purposes only.
It will also conflict with any other modules which override the image_style entity type class.

Supporting this Module

Support this module if it is valuable for you or your organization https://buymeacoffee.com/itech4web

Activity

Total releases
2
First release
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Release date
1.1.0 Stable Mar 29, 2025
1.1.x-dev Dev Mar 29, 2025