Drupal is a registered trademark of Dries Buytaert
drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). domain 3.0.0 Major update available for module domain (3.0.0). ai 1.2.15 Minor update available for module ai (1.2.15). ai 1.3.4 Minor update available for module ai (1.3.4). leaflet 10.4.7 Minor update available for module leaflet (10.4.7). chosen 5.0.5 Minor update available for module chosen (5.0.5). csp 2.2.4 Minor update available for module csp (2.2.4).

The Image Fetchpriority module enhances Drupal's core image formatters by allowing site builders to add the fetchpriority attribute directly from the UI. This is crucial for optimizing Core Web Vitals, specifically the Largest Contentful Paint (LCP), by hinting to the browser which images should be loaded with higher or lower priority.

Features

  • Adds a fetchpriority setting to the standard Image formatter.
  • Supports standard Image and Responsive Image formatters natively.
  • Options include: High, Low, and Auto (default).
  • Seamlessly integrates into the existing "Image loading" fieldset in the Manage Display settings.

Post-Installation

Once installed, navigate to the "Manage Display" tab of any entity (like a Content Type) that uses an Image field. Click on the gear icon to configure the formatter settings, and you will see a new "Fetch priority" dropdown. Select your desired priority (High, Low, or Auto) and save.

Additional Requirements

No additional requirements. This module only depends on Drupal core's Image module.

Similar projects

While there are other performance-related modules, this module focuses specifically on providing a native fetchpriority HTML attribute integration within core image formatters, extending core functionality rather than replacing it with custom formatter plugins.

🤖 Note of honesty: This module was created with AI assistance (vibecoded), but has undergone thorough human review, testing, and architectural validation to ensure it meets Drupal coding standards and best practices.

Activity

Total releases
1
First release
Apr 2026
Latest release
9 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Apr 30, 2026