{%- comment -%} MIT License · (c) 2026 Lintel · https://lintelagency.com/resources/shopify-sections {%- endcomment -%} {%- comment -%} UGC gallery: customer photos in an Instagram-style grid, uploaded by the merchant, each with an optional credit and a link to the product in it (name and price from the store). No Instagram API, no third-party embed, no tracking: photos are served by Shopify like any theme image. Ask customers before you post their photos. Pure Liquid and CSS; no JavaScript. Depends on: snippets/lib-image.liquid, snippets/lib-button.liquid {%- endcomment -%} {%- liquid assign s = section.settings assign heading_tag = s.heading_tag | default: 'h2' assign cols = s.columns | plus: 0 assign img_vw = 100 | divided_by: cols assign cols_m = s.columns_mobile | plus: 0 assign img_vw_m = 100 | divided_by: cols_m assign img_sizes = '(min-width: 750px) ' | append: img_vw | append: 'vw, ' | append: img_vw_m | append: 'vw' -%}