We are attempting to return the entire image tag via AMP-List, rather than just the source URL.
Example:
AMP-List Markup: {{{amp_image}}}
JSON Returned: {"amp_image":"<img src='example-img.png' />"}
However, with this example and many variations - no image seems to be returned. Is what we're doing possible, or is there some limitation where images cannot be displayed after the fact?
The main reason we're attempting to return the entire image rather than just the source, is that some of our AMP pages are being 'flagged' (via SEMRush and others) as having 404's. It seems that they see rather than the actual src, since it's returned via JS - which results in the 404.
Thanks in advance for any input here!