Skip to main content

article_img_url
Deprecated

variable | article_img_url
returns string

Returns the CDN URL for an article's image.

Deprecated

The article_img_url filter has been replaced by image_url.

{{ article.image | article_img_url }}

Output

//polinas-potent-potions.myshopify.com/cdn/shop/articles/beakers-for-science-with-water_small.jpg?v=1654385193
Anchor to size

size

image | article_img_url: string

By default, the article_img_url filter returns the small version of the image (100 x 100 px). However, you can specify a size.

{{ article.image | article_img_url: 'large' }}

Output

//polinas-potent-potions.myshopify.com/cdn/shop/articles/beakers-for-science-with-water_large.jpg?v=1654385193
Was this page helpful?