Could this plugin support images for AMP pages using the <amp-img> tag?
There are a few things to consider:
- Setting custom tag name as
amp-img (defaults to img)
- Passing extra custom attributes (like
layout="responsive")
- The
<amp-img> tag can contain fallback content and needs to be closed properly with </amp-img>, this might be the trickiest to implement
Any comment or idea is appreciated.
Could this plugin support images for AMP pages using the
<amp-img>tag?There are a few things to consider:
amp-img(defaults toimg)layout="responsive")<amp-img>tag can contain fallback content and needs to be closed properly with</amp-img>, this might be the trickiest to implementAny comment or idea is appreciated.