Find matching asset (image) for category What would be the best approach to have a list of categories (brands in my case.) and if an asset (image) exists that matches that brand name show that asset or instead show a placeholder image.

&lt;ul&gt;
{% for category in craft.categories.group('brands') %}
    &lt;li&gt;
        &lt;a href="{{ category.url }}"&gt;
            &lt;img src="{{ .. }}" /&gt;
        &lt;/a&gt;
    &lt;/li&gt;
{% endfor %}
&lt;/ul&gt;
I would add the brand category field to the assets field set. This way you can add brands to images and use .relatedTo to find them.

&lt;ul&gt;
  {% for category in craft.categories.group( 'brands' ) %}
    // This will give you the first image that relates to the category, you could use .find() to get all images and then loop through them.
    {% set image = craft.assets.relatedTo( category ).first() %}

    &lt;li&gt;
      &lt;a href="{{ category.url }}"&gt;
        {% if image|length %}
          &lt;img src="{{ image.url }}" /&gt;
        {% else %}
          &lt;img src="http://placehold.it/400x300" /&gt;
        {% endif %}
      &lt;/a&gt;
    &lt;/li&gt;
  {% endfor %}
&lt;/ul&gt;