amp-img Not Setting Height and Width
-
As of 1/23, some of my pages started to fail validation because of missing amp-img height and width values. The images are coming from an affiliate network. The image sizes are specified in the original tag.
Here’s the code:
<a href="https://macphun.evyy.net/c/316572/407053/3255?subId1=AUR300x600NOIMGBG"><amp-img src="//a.impactradius-go.com/display-ad/3255-407053" alt="" width="300" height="600" sizes="(min-width: 300px) 300px, 100vw" class="amp-wp-enforced-sizes"></amp-img></a><amp-img height="" width="" src="//macphun.evyy.net/i/316572/407053/3255" sizes="(min-width: 0px) 0px, 100vw" class="amp-wp-enforced-sizes"></amp-img>
How can I get the amp-img dims to reflect the regular img dims?
Thanks in advance,
Daniel
The page I need help with: [log in to see the link]
- The topic ‘amp-img Not Setting Height and Width’ is closed to new replies.