All things Shopify and commerce
ella theme how to update img_url to image_url,
for example: img_url: 'master' =>image_url: format: 'mast is this right?
Hi @DawnTawn
In the context of the Ella theme in Shopify, updating the img_url to image_url is part of transitioning from older to newer versions of Shopify's Liquid syntax. The img_url filter has been replaced with image_url in recent updates.
Here's how you can update the code:
Old syntax (img_url):
{{ product.featured_image | img_url: 'master' }}
{{ product.featured_image | image_url: 'master' }}
In your example, if you are updating from img_url: 'master', the correct syntax using the image_url filter would look like this:
{{ product.featured_image | image_url: 'master' }}
This syntax now works with the updated Shopify theme and Liquid API. Make sure you replace img_url with image_url in all relevant places in your theme files.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025