Support » Plugin: WP SEO Structured Data Schema » Image Object Height/Width Errors

  • Looks like google requires that when the height or width is used in an ImageObject that it have the unit attached to it as well. At least thats the error i am getting when validating an article via the structured data testing tool. I was getting an invalid value error when it did not have px on the end of the value. I edited the plugin to manually add in px values on the end and resubmitted to google and google structured data tool now see no issue with these pages.

    UPDATE: Though I look at their documentation on this and it looks like they don’t actually need the unit. Possible bug in their structured data testing tool.

    • This topic was modified 1 year, 4 months ago by  rhinogroup.
  • The topic ‘Image Object Height/Width Errors’ is closed to new replies.