title: Getting a structure field value in a display template script
body: <p>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 :</p>
  
  <pre><code>&lt;#if entries?has_content&gt;
      &lt;#list entries as curEntry&gt;
              &lt;div&gt;${curEntry.getTitle(locale)}&lt;/div&gt;
          &lt;/#if&gt;
      &lt;/#list&gt;
  &lt;/#if&gt;
  </code></pre>
  
  <p>The problem is that I don't know how to get the image field  ("main_image" declared in the structure) value.</p>
  
  <p>I tried this with no success :</p>
  
  <pre><code>&lt;img src = "${curEntry.main_image()}"&lt;/img&gt;
  </code></pre>
  
  <p>Regards,</p>
  
  <p>Mark.</p>