Problem/Motivation

After upgrading a site from Drupal 11.3.x to Drupal 11.4.x, image classes configured using the Extra Image Field Classes formatter are no longer rendered on the final image tag.

The formatter is correctly selected under Manage Display and the field is rendered using {{ content.field_image }}.

However, the generated HTML does not contain the configured classes.

Steps to reproduce

Install Extra Image Field Classes

  • Configure an image field to use the "Extra Image Field Classes" formatter
  • Configure extra classes
  • Upgrade Drupal from 11.3.x to 11.4.x
  • Clear caches and inspect the rendered HTML

Expected result

<img class="extra-classes" ...>

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

drupgmi created an issue. See original summary.

drupgmi’s picture

Priority: Major » Normal

avpaderno’s picture

Version: 8.x-1.3 » 8.x-1.x-dev
avpaderno’s picture

Issue summary: View changes
Status: Active » Needs review