Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Image Utilities

12 sites Security covered Drupal 9–11
View on drupal.org

Image Utilities enhances Drupal core's image functionality for developers. It provides tools to easily generate image URLs based on image styles, directly within Twig templates or custom code, and adds convenient methods for accessing image alt text and titles from image field items.

Image Utilities provides developer-oriented improvements to the core image module.

Features

  • Add image_style Twig filter. It takes field items, media or file entities and gives you an image url based on the
    image style ID you pass as an argument.
  • Add ImageManager service that can be used to easily generate image urls in code.
  • Add getFile, getAlt and getTitle methods to the image field item class for use in custom code or Twig templates.

Contributing

  • Tests are encouraged. This project doesn't have any test coverage yet, but contributions are welcome.
  • Keep the documentation up to date. Make sure README.md and other relevant documentation is kept up to date with your changes.
  • One pull request per feature. Try to keep your changes focused on solving a single problem. This will make it easier for us to review the change and easier for you to make sure you have updated the necessary tests and documentation.

Depends on

Dependencies of the latest stable release

  • image Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Nov 2024
Latest release
8 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
1.1.6 Stable 9–11 Dec 5, 2025
1.1.5 Stable 9–11 Nov 21, 2024