Displays an Imgur post.
<script async custom-element="amp-imgur" src="https://cdn.ampproject.org/v0/amp-imgur-0.1.js"></script>
This extension creates an iframe and displays an imgur post.
<amp-imgur data-imgur-id="f462IUj" layout="responsive" width="540" height="663" ></amp-imgur>
The id of the Imgur post.
You can confirm this in the post's url. It should include
a/ before the rest of the id, like on:
The width of the Imgur post.
The height of the Imgur post.
This element includes common attributes extended to AMP components.
See amp-imgur rules in the AMP validator specification.
You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.Go to Stack Overflow Found a bug or missing a feature?
The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.Go to GitHub