How to add an image to shopify using liquid?

Let’s begin by looking at theme images. Let’s assume we have a logo.png in our assets folder; we can output it in any template using the following Liquid syntax:

How to add an image to shopify using liquid? expoundsofttechsolution How to add an image to shopify using liquid?

{{ 'logo.png' | asset_url | img_tag: 'Logo' }}

This would result in the following output:

<img src="assets/logo.png" alt="Logo">