On the amp-bind Amp for Email documentation page, it shows an example (A slightly more complex example) of binding [src] to amp-img to change an image source path:
<amp-state id="myAnimals">
<script type="application/json">
{
"dog": {
"imageUrl": "/img/dog.jpg",
"style": "greenBackground"
}
}
</script>
</amp-state>
<!-- Or change an image's src with the [src] binding. -->
<amp-img width="300" height="200" src="/img/dog.jpg"
[src]="myAnimals[currentAnimal].imageUrl">
</amp-img>
However when I validate in Playground I get: The attribute '[src]' may not appear in tag 'AMP-IMG (AMP4EMAIL)'.
I'm trying to do something similar with the Carousel component (type="slides"), where as i click to the next/prev slide I want copy/image located elsewhere in the email to change. While I can get the copy to change, it doesn't seem I can do the same for the image.
Is it not possible to change an image source path using the amp-bind component for Amp for Email?? Is there a workaround?