How to resize products images in order email confirmation?

Topic summary

Problem: Product images in the Shopify order confirmation email are too small, especially on mobile, making it hard to distinguish similar products. The goal is to increase image size via code.

Current template code: uses the image filter with a small preset and explicit 60x60 attributes:

  • {% if line.image %}{% endif %}

Attempted change: switched to a larger size and set bigger width/height, but the email still shows small images:

  • {% if line.image %}{% endif %}

Evidence: screenshots provided show no visible change after the modification.

Status: Seeking a code-based method to reliably resize line item images in the order confirmation email. No solution or guidance from others yet; issue remains unresolved/ongoing.

Summarized with AI on December 25. AI used: gpt-5.

Hello,

below is the actual order confirmation email I receive when a customer makes a purchase

This image is taken from desktop (on smartphone is quite smaller)

I need images are larger, I need to resize them, in order to make easy to understand wich product it is (there are very similar products and image is foundamental)

How is it possible to resize the products image in order confirmation email via code?

thanks in advance!

I have this code in email template:

{% if line.image %}

{% endif %}

I’m tryng this:

{% if line.image %}

{% endif %}

Where 30 is width and 451 is height of my products image ratio, but nothing chages, here wht I obtain after this change: