{% macro variants(fullImage,preview,alt="",height,width,class="") %}

{% set preview = preview!="" ? preview : fullImage %}
<div data-href="{{ fullImage }}"
     class="progressive replace {{class}}">
     <img class="preview"
          src="{{ preview }}"
          alt="{{ alt}}"
          height="{{ height }}"
          width="{{ width }}">
</div>
{% endmacro %}
