Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
219 views
in Technique[技术] by (71.8m points)

amp html - Images are not visible on AMP pages

I have implemented AMP on my home page, but some images are not visible.

You can check on our website : https://www.hopohomes.com/

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I think u misunderstood about AMP concept.AMP-HTML tags are not the HTML tags replacement. You cant just convert your site into an AMP just by replacing few tags. your site must follow amp html specification(https://www.ampproject.org/docs/reference/spec).

To test that, you can install amp validator chrome extension or by ending your site url by /#development=1 and look into your console.

Here is how it works, google crawler will search for amp in mobile search, if it is found and validates without error then your amp page may show up via link(not your main Web page) in rich search result and top stories in mobile.It will be very fast compared to normal pages but restrictive while developing. https://developers.google.com/search/docs/guides/enhance-amp

If you are not willing to keep separate pages for AMP and non AMP(which is recommended to keep),then you need to compromise on your functionalities and also, As of now you are having more than 100 errors which needs to be fixed in order for google to recognize.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...