Combine image assets widths to get total width How can I check if multiple asset image widths combined are wider than X?
So how do i get X?

Like this:

File 1 = 300px wide
File 2 = 200px wide
File 3 = 250px wide

x &gt;= 750px than&lt;br /&gt;
  Do This&lt;br /&gt;&lt;br /&gt;
else&lt;br /&gt;
  Do that&lt;br /&gt;
Something like this should work:

{% set totalWidth = 0 %}

{% for asset in myAssetList %}
    {% set totalWidth = totalWidth + asset.width %}
{% endfor %}

{% if totalWidth &gt; 750 %}
    Do this.
{% else %}
    Do that.
{% endif %}