-->

How to bring up Thumbnails on AMP HTML Blogger Template

As we know, that tag img at AMP HTML turns amp-img. When we write postings like this:

<img alt='image' src='url-image'/>

the code will result in the error validation AMP HTML. The correct writing such as here:

<amp-img src="url-image"
    width="1080"
    height="610"
    layout="responsive"
    alt="AMP HTML"></amp-img>

Image will appear in the posting. However, it will not appear on the thumbnail on the main page/homepage. So that the image appears on your Homepage add tag noscript so the code becomes like this:

<noscript><img alt='image' src='url-image'/></noscript>

Good luck...

Artikel Terkait

Disqus Comments