Hi there,
Checking in to see if anyone on the Klaviyo forums can help out with my request.
I am pulling in product data from Shopify. Everything works fine. However, I would like to crop my product images to 90 x 90px squared as a thumbnail for the abandoned cart emails flows.
Currently I have a table with a placeholder image pulling from Shopify. The current code is:
Email placeholder that contains an image URL:
{% if item.product.variant.images.0.src %}{{item.product.variant.images.0.src}}{%else%}{{item.product.images.0.src|missing_product_image}}{%endif%}
Image Settings
Link: {{ organization.url|trim_slash }}/products/{{ item.product.handle }}
Is this type of cropping of the product image possible with adjustments to the above code? If so, how would it work and what would the code be?
Thanks in advance.
- Evan