Squarespace Fix errors on your AMP pages

Posted by paris on Nov 4, 2016 in Fixes |

Recently I got errors

Height: The attribute logo.height has an invalid value.
Width: The attribute logo.width has an invalid value.

Per here : https://developers.google.com/structured-data/rich-snippets/articles

Logos should have a wide aspect ratio, not a square icon.
Logos should be no wider than 600px, and no taller than 60px.
Always retain the original aspect ratio of the logo when resizing. Ideally, logos are exactly 60px tall with width <= 600px. If maintaining a height of 60px would cause the width to exceed 600px, downscale the logo to exactly 600px wide and reduce the height accordingly below 60px to maintain the original aspect ratio.

I resized my site logo to under 60PX and all was well 🙂

 

If you are getting “A value for the image field is required” it means you need to upload a thumbnail to the blog post which can be found in the settings options of the Post

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Squarespace Fix errors on your AMP pages, 10.0 out of 10 based on 1 rating

Tags: , , , , ,

1 Comment

BND
Dec 16, 2016 at 10:32 am

I implemented this fix to our Squarespace website design and it worked perfectly. We re-uploaded our company logo to the correct aspect ratio. The second error was also fixed by inserting an image in the options field on each individual blog post.

VA:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
VA:F [1.9.22_1171]
Rating: 0 (from 0 votes)

 

Reply

Copyright © 2017 Welcome to Pariswells.com All rights reserved. Theme by Laptop Geek. Privacy Policy