Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Tested with Media 2.x-dev.
The alt and title attributes are missing in the rendered images, not taking the values from the image file entities.
Comment | File | Size | Author |
---|---|---|---|
#2 | field_orbit-alt_and_title_missing_in_images-2745939-1.patch | 1.01 KB | interdruper |
Comments
Comment #2
interdruper CreditAttribution: interdruper at Interdruper commentedThe reason is that theme_image() requires alt and title as explicit elements in the image array.
Patch is attached.
Comment #4
afi13 CreditAttribution: afi13 commentedCommited, thanks for your work.