{% assign use_variant_images = false %}
{%- if use_variant_images and variant.images[0] -%} {%- assign images = variant.images -%} {%- else -%} {%- assign images = product.images -%} {%- endif -%}
    {%- for image in images -%} {% if image.src contains '.jpg?v=' %} {% assign img_src = image.src | replace: '.jpg?v=', '_120x.jpg?v='%} {% elsif image.src contains '.jpeg?v=' %} {% assign img_src = image.src | replace: '.jpeg?v=', '_120x.jpeg?v='%} {% elsif image.src contains '.png?v=' %} {% assign img_src = image.src | replace: '.png?v=', '_120x.png?v='%} {% elsif image.src contains '.gif?v=' %} {% assign img_src = image.src | replace: '.gif?v=', '_120x.gif?v='%} {% else %} {% assign img_src = image.src %} {% endif %}
  • {{image.alt | escape}}
  • {% endfor %} {%- for video in product.videos -%}
  • {%- endfor -%}