Why am I getting an asset_img_url error in .liquid coding?

Hi there community, on my way to learn .liquid, i can’t found issue on that syntax:

{{ 'visa.svg' | asset_img_url | image_url: width: 36, height: 36 | image_tag: alt: 'Visa', srcset: nil, class: 'filter-green', loading: 'lazy' }}

Fail: Liquid error (sections/footer.liquid line 264): invalid url input

Where is the fail? :disappointed_face:

thanks to anyone!

@SHIBdev - can you try this?

{{ 'visa.svg' | asset_img_url:'36x' | image_url: width: 36, height: 36 | image_tag: alt: 'Visa', srcset: nil, class: 'filter-green', loading: 'lazy' }}

it shows same issue on that line, i found a way to make it possible:


i don’t know if it’s the best way to,