ampproject/amp-wp

There is missing schema.org data on attachment pages

kienstra opened this issue · 2 comments

As reported in this support topic by @shrewdies, the schema.org data doesn't have an image value on attachment pages.

Steps to reproduce:

  1. Select an image in wp-admin/ > Media > Library
  2. In the Attachment Details modal, click 'View attachment page'

view-attachment-page

  1. Enter the URL of that page into the Google Structured Data Testing Tool

Expected: There is 'image' data
Actual: That value is missing

image-value-missing

New Issue

Hi @postphotos,
Feel free to review or edit this. Ideally, this would be in the 0.7.1 milestone. But we're already doing end-to-end testing for it.

I created a 0.7.2 milestone and added this to it.