Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Image Fetchpriority

15 sites Security covered Drupal 10โ€“11
View on drupal.org

This module allows you to control the loading priority of images in Drupal. By adding a "fetchpriority" attribute to images, it helps improve your website's performance and loading speed, particularly for the Largest Contentful Paint. You can set images to load with high, low, or automatic priority through the Drupal user interface.

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.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Apr 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0 Stable 10โ€“11 Jul 10, 2026
1.0.x-dev Dev 10โ€“11 Apr 30, 2026