Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Image Style Metadata

No security coverage Under active development 11 sites

This module stores metadata, such as width and height, for styled derivative images in the database. This allows applications, especially headless ones, to access image dimensions without downloading the image files. Additional submodules can also add features like Blurhash generation or JSON:API integration.

The Image Style Metadata module stores metadata about derivative, styled images in the database as content entities. On its initial implementation it will only store the width and height of the image, but it can be extended to store more metadata.

The primary use case for this module is to provide easy access to the styled images metadata, without having to actually download the image. This could be helpful in frontend apps that have a headless Drupal backend.

The package contains also 2 submodules:

  • jsonapi_image_style_metadata: It denormalizes the metadata that are stored by this module and adds them on a computed field on the File entities' JSONAPI export.
  • blurhash_image_style_metadata: It extends the stored metadata by adding a Blurhash.

Additional Requirements

IMPORTANT! The module depends on this core patch in order to work: https://www.drupal.org/project/drupal/issues/2940016

Ask your assistant about Image Style Metadata

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
15
Tracked since
Aug 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha5 Pre-release 10–11 Aug 27, 2024
1.0.0-alpha4 Pre-release 10–11 Aug 27, 2024
1.0.0-alpha3 Pre-release 10–11 Aug 26, 2024
1.0.0-alpha1 Pre-release 10–11 Aug 23, 2024
1.0.x-dev Dev 10–11 Aug 21, 2024