cset="{{ srcset | strip }}"{% endif %}
    {% if include.sizes %}sizes="{{ include.sizes }}"{% endif %}
  {% endcapture %}
{% else %}
  {% capture sources %}
    src="{% include_cached smart-url url=include.img %}"
  {% endcapture %}
{% endif %}

<img
  {{ sources }}
  {% if include.alt %}alt="{{ include.alt }}"{% endif %}
  {% if include.class %}class="{{ include.class }}"{% endif %}
  {% if include.property %}property="{{ include.property }}"{% endif %}
  {% if include.width %}width="{{ include.width }}"{