Skip to main content

There is a significant discrepancy in image sizes within my trigger. How can I adjust this

Here I will explain how to adjust the height of your images in automated triggers.

Carola avatar
Written by Carola
Updated this week

Do you place products in your email, but there is a difference in dimensions of the product images? You'll want to adjust this, of course.

Why do images of different products have varying sizes?

Your entire webshop is linked with Reloadify. This means your products (including their corresponding images) are synchronized directly from your shop. Reloadify automatically scales your images to ensure they share the same height. This way, your images are always neatly aligned side-by-side in the email.

How do I adjust the image sizes?

Would you prefer to stay in control? You can. Simply use the following liquid code for the image: {{ products[0].main_image | resize: 300 }}. The "resize: 300" part automatically scales the image to 300 pixels. You can enter any value you prefer, such as 300, 600, or any other number.

Tip: always send a test email to yourself (via the "Send test" option in the email editor). That way you can check for yourself how recipients will see your email in the inbox.

Did this answer your question?