I'm trying to put in place a customized display for my Asset Publisher Entries. I created a Structure with an "image" field (named "main_image") and then, I created a display template to get the entries :
<#if entries?has_content>
<#list entries as curEntry>
<div>${curEntry.getTitle(locale)}</div>
</#if>
</#list>
</#if>
The problem is that I don't know how to get the image field ("main_image" declared in the structure) value.
I tried this with no success :
<img src = "${curEntry.main_image()}"</img>
Regards,
Mark.