Transform Info from Handle?
Sortof – you can find out what an image’s width would be with a transform applied to it via AssetFileModel’s - getWidth() and getHeigth()

&lt;img src="
    {%- if image.getWidth(transform) &gt; 970 -%}
        {{ image.getUrl(transform) }}
    {%- else -%}
        {{ image.url }}
    {%- endif %}" alt="{{ image.title }}" /&gt;


And for extra cleanliness points, you can update the code to use setTransform() instead of jumbling all that code into your &lt;img&gt; tag:

{% if image.getWidth(transform) &gt; 970 %}
    {% do image.setTransform(transform) %}
{% endif %}

&lt;img src="{{ image.url }}" alt="{{ image.title }}" /&gt;