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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mdrummond created an issue. See original summary.

RainbowArray’s picture

Status: Active » Needs review
FileSize
7.06 KB

This adds default image styles, image style configuration options for AMP Metadata, as well as optional usage of image styles in JSON generation.

mtift’s picture

Status: Needs review » Needs work
FileSize
7.06 KB
650 bytes

The image style overrides still do not seem to be working, but the I got the global settings to work with the attached patch.

RainbowArray’s picture

The 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.

mtift’s picture

Status: Needs work » Fixed

The patch in #3 is working. We discovered an unrelated issue, so committing this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.