Skip to content

There is missing schema.org data on attachment pages #1157

@kienstra

Description

@kienstra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions