Support » Plugin: Schema App Structured Data » image: missing and required

Viewing 2 replies - 16 through 17 (of 17 total)
  • Plugin Author vberkel


    Hi @mynamealreadyexists,

    Google’s structured data testing tool no longer reports an error for the data type (syntax) of width:

    Could you confirm the same?

    We had an update to meet the Google issue, but it is no longer necessary. If you updated your code those numbers with quotes are interpreted as Intangibles, which is less correct because you’re telling Google it’s an Object Property.

    There are a lot of differences between Google’s tools, especially SDTT and Search Console Structured Data Report. The former validates for every possible use case. The latter looks does not. Their Merchant Feed automatic price updates only use microdata and doesn’t recognize JSON-LD. Google Search recommends JSON-LD and no longer microdata. Similar store with Google Custom Site Search.


    @mynamealreadyexists are you saying the problem is from the AMP plugin? How did you fix it please? I edited manually on structured data testing tool as you suggested and it worked

    EDIT: Not to worry, I edited this section of the AMP plugin file amp/includes/class-amp-post-template.php. Put double qoute for $post_image_src[1] and $post_image_src[2] and it worked.

    if ( is_array( $post_image_src ) ) {
    $post_image_meta = array(
    ‘@type’ => ‘ImageObject’,
    ‘url’ => $post_image_src[0],
    ‘width’ => “$post_image_src[1]”,
    ‘height’ => “$post_image_src[2]”,

    • This reply was modified 2 years, 8 months ago by  Udegbunam Chukwudi. Reason: Resolved for now
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘image: missing and required’ is closed to new replies.