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.
The Twitter Cards specifications indicate that "twitter:image:src" should be used, so "twitter:image" seems to have been dropped or was a mistake.
Comment | File | Size | Author |
---|---|---|---|
#6 | metatag-n2267501-6.patch | 4.63 KB | DamienMcKenna |
#2 | metatag-n2267501-2.patch | 2.36 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaComment #2
DamienMcKennaThis patch replaces the meta tag, updates the README.txt, and adds an update script to replace update existing records.
Comment #4
DamienMcKennaIn addition to a reroll, this is dependent upon #2298337: Add structure in API for meta tags to replace others.
Comment #5
DamienMcKennaComment #6
DamienMcKennaThis improves the update script so that it also fixes metatag_config, and then also fixes the default value from metatag_twitter_cards_metatag_bundled_config_alter.
Comment #7
DamienMcKennaUnblocked.
Comment #8
DamienMcKennaComment #9
DamienMcKennaComment #11
DamienMcKennaCommitted, though I did split the update script in two, just to avoid possible timeouts.
Comment #13
Andrew_Mallis CreditAttribution: Andrew_Mallis at Kalamuna commentedLooks like Twitter spec is now twitter:image again instead of twitter:image:src.
Not seeing anything breaking currently.
Comment #14
DamienMcKennaLets take this up in a new issue: #2550001: Twitter went back to using twitter:image instead of twitter:image:src