asset_img_url
Returns the CDN URL of an image from the theme's assets directory.
Parameters
filename{String}: The filename of the image. This parameter is required.returns{String}: The CDN URL of the image.
Usage
{{ asset_img_url filename [size] }}
Example
{{ asset_img_url 'filename.png' }}
size
{{ asset_img_url 'filename.png' '100x' }}
Was this article helpful to you?