python flask pass dict

I need to populate a Flask Template

In Python I build the dict like this

dict1[counter] =  {
    'title': l.getTitle(),
    'url': l.getLink(),
    'img': l.getImg()
}

prinnt (template.render(result=dict1))

In the flasktemplate I need to do this

{% for l in result.itervalues() %}
<div class="link">
    <a href="{{ l.url }}"> {{l.title}}</a>
    <img src="{{ l.img }}" width="100" height="100">
</div>
{% endfor %}