Create editable image blocks shopify

add_image_block_shopify

<div>
  <div>
    <a href="{{ section.settings.featured_collection_1 }}">
     <img src="{{ section.settings.image_1 | img_url }}">
    </a>
  </div>
</div>

{% schema %}
  {
    "name": "Home Image Block",
    "settings": [
       {
      "type": "image_picker",
      "id": "image_1",
      "label": "Logo image"
    },
     {
        "type": "collection",
        "id": "featured_collection_1",
        "label": "Collection Link"
      }
]
  }
{% endschema %}

Share this Tutorial