Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 10.3 KB
MD5: 5406a5eaf815f9519c7d46674914035f
SHA-1: 7441995cb0aca7d9ff570f9a1bd881ec49e4f9d3
SHA-256: 6bba154c60fa3d5efc0f3d1fe10c100a07dee2b3a6ab472c4600c5f369dde53a
Download zip 15.26 KB
MD5: a6eb9192736eba75b8f5fd3aa6a3ea02
SHA-1: dde61bc485610286db539e6eb7b5331526e3f498
SHA-256: 38e4d7d2d810b10a7feac62e7a115da5da2a0ff987c575cd967aa35f87311dea

Release notes

Fix: hook_graphql_fields_alter implementation was named svg_image_graphql_fields_alter, so Drupal 11's hook discovery (HookCollectorPass) attributed it to module svg_image_graphql + hook fields_alter and never invoked it. As a result the SvgImageDerivative class swap didn't happen and derivative(style: …).url returned raw public://… URIs for SVG files. Renamed to svg_image_graphql_graphql_fields_alter. Drupal 10 was unaffected because its per-hook function_exists() lookup happened to match the short name against the svg_image dependency.

No schema or API changes. Clear caches after upgrading.

Created by: bogdan.racz
Created on: 22 Apr 2026 at 16:52 UTC
Last updated: 22 Apr 2026 at 16:53 UTC
Bug fixes

Other releases