Using Asset Field in a Template I'm confused about how to use an uploaded asset in a template (or rather why it isn't working).

1) I create an asset source and folder (Note: I did not add any fields).

2) I added this as a field in my entry fields called heroImage

3) I uploaded an asset to my single entry for the page.

4) I added this to the template

{% for asset in entry.heroImage %}
             {{ asset.url() }}
             XXXX
{% endfor %}


5) I also tried

    {% set assets = entry.heroImage %}
    {% if assets | length %}
      &lt;h3&gt;Some great assets&lt;/h3&gt;
      {% for asset in assets %}
          {{ asset.url }}
      {% endfor %}

    {% endif %}


I can see the image on the entry page but the template wont render it.

What could be
Unless I'm misunderstanding the question, surely you'll need to use an IMG tag?

{% for asset in assets %}
    &lt;img src="{{ asset.getUrl }}" /&gt;
{% endfor %}