I'm new to Craft and having a very hard time calling the URL from a field I created called imagePrimary
I've read this extensively but still no luck. https://craftcms.com/docs/assets-fields
{% include 'header.html' %}
{% block content %}
{% for entry in craft.entries.section('projects').limit(500).find() %}
<div class="wrapper">
<div class="row entry feed linked">
<div class="title"><a href="{{ entry.url }}"><p><span>{{ entry.studio }}</span>{{ entry.title }}</p></a></div>
<div class="col-xs-12 col-md-8">
<div class="featured image" style="background-image: url(
{% for asset in entry.imagePrimary %}
{{ asset.url() }}
{% endfor %}
)"></div>
</div>
<div class="col-md-4 secondary">
<div class="featured image secondary" style="background-image: url()"></div>
<div class="featured image secondary" style="background-image: url()"></div>
</div>
</div>
</div>
{% endfor %}
{% endblock %}
{% include 'footer.html' %}