file_ img_ url
{{ 'potions-header.png' | file_img_url }}
{{ 'potions-header.png' | file_img_url }}
Output
//polinas-potent-potions.myshopify.com/cdn/shop/files/potions-header_small.png?v=4246568442683817558
Anchor to The size parameter
The size parameter
image | file_img_url: string
By default, the filter returns the
small
version of the image (100 x 100 px). However, you can specify a size.
{{ 'potions-header.png' | file_img_url: 'large' }}
{{ 'potions-header.png' | file_img_url: 'large' }}
Output
//polinas-potent-potions.myshopify.com/cdn/shop/files/potions-header_large.png?v=4246568442683817558
Was this page helpful?