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 8.x version of AMP Metadata allows the option to select image styles for AMP Metadata. Would be nice to have that option in 7.x as well.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2751185-3-interdiff.txt | 650 bytes | mtift |
#3 | 2751185-3.patch | 7.06 KB | mtift |
Comments
Comment #2
RainbowArrayThis adds default image styles, image style configuration options for AMP Metadata, as well as optional usage of image styles in JSON generation.
Comment #3
mtiftThe image style overrides still do not seem to be working, but the I got the global settings to work with the attached patch.
Comment #4
RainbowArrayThe content type image styles appear to be working for me. Reviewed and debugged the code, don't see an issue. Not sure why this wouldn't be working.
Comment #5
mtiftThe patch in #3 is working. We discovered an unrelated issue, so committing this.