J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
width="100%" error (1 viewing) 
Go to bottom
TOPIC: width="100%" error
#6616
ben harris
Fresh Boarder
Posts: 1
User Offline
width="100%" error 3 Years, 1 Month ago Karma: 0  
when i run a page through google's amp test it comes back with an error stating that 100% is an invalid width.. all my images have responsive attributes and i thought amp supported this?
 
Logged Logged  
  The administrator has disabled public write access.
#6617
John Dagelmore
Admin
Posts: 3539
User Offline
Re:width="100%" error 3 Years, 1 Month ago Karma: 75  
No this is expected, the AMP format wants size for images set as explicit values and not % percentage as you have: width="75%"
http://ampready.com/getting-started/amp-img

A quick workaround could be activating the following plugin parameter to override images width/height.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top