AEMaaCS / 6.5 using the core components.
I have a path to a DAM asset, like: /content/dam/mysite/carousel/images/API-2020x512.png
I want to render either apps/mysite/components/images or core/wcm/components/image/v3/image.
How do I do this in sightly?
I tried something like this, which results in a server error (out of memory exception???):
<sly data-sly-resource="${ hero.imageReferencePath @ wcmmode=disabled }" data-sly-test="${ hero.hasImage }"></sly>
getImageReferencePath is returning the path to the DAM asset accordingly.