• Resolved pppdog(Zeng)

    (@moneyhome)


    Hi..
    The attribute ‘width’ in tag ‘amp-img’ is set to the invalid value ”. Debug. (And 0.6.0 amp).
    eg..
    <amp-img src="https://www.tcpawn.tw/wp-content/uploads/2017/12/photpawnshop.jpg" width="" height="" alt="" sizes="(min-width: 0px) 0px, 100vw" class="amp-wp-enforced-sizes"></amp-img></div><!-- .wpsso-schema-image-for-pinterest --><p>
    Thank you.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    WPSSO does not add the Pinterest image for AMP pages, but AMP v0.6.0 may be defining the AMP_QUERY_VAR constant (used to test for AMP pages) later in the load process. I’ve adjusted the code to check for AMP_QUERY_VAR in the filter itself instead of the class construct. You can find v3.51.0-dev.1 in the SVN and GitHub trunks https://www.ads-software.com/plugins/wpsso/#developers.

    js.

Viewing 1 replies (of 1 total)
  • The topic ‘The attribute ‘width’ in tag ‘amp-img’ is set to the invalid value ”.’ is closed to new replies.