Trying to add image url to section

Hi,

I have made a section for a review image slider and now want to add the option to click the image and go to a url. But it keeps coming up with Invalid JSON in tag ‘schema’ when I try to save it.

Any help would be greatly appreciated.

My Now Amazing Webpage {{ 'Slick-Silder.css' | asset_url | stylesheet_tag }}

The highest standards.
The happiest horses and ponies.

{% schema %}
{
“name”: “Reviews slider”,
“class”: “Reviews-slider”,
“tag”: “section”,
“settings”: [
{
“type”: “header”,
“content”: “Desktop Settings”
},
{
“type”: “image_picker”,
“label”: “T_imag1”,
“id”: “T_imag1”
},
{
“type”: “image_picker”,
“label”: “T_imag2”,
“id”: “T_imag2”
},
{
“type”: “image_picker”,
“label”: “T_imag3”,
“id”: “T_imag3”
},
{
“type”: “image_picker”,
“label”: “T_imag4”,
“id”: “T_imag4”
},
{
“type”: “image_picker”,
“label”: “T_imag5”,
“id”: “T_imag5”
},
{
“type”: “image_picker”,
“label”: “T_imag6”,
“id”: “T_imag6”
},
{
“id”: “p_link1”,
“type”: “url”,
“label”: “link”,
},
{
“id”: “p_link2”,
“type”: “url”,
“label”: “link”,
},
{
“id”: “p_link3”,
“type”: “url”,
“label”: “link”,
},
{
“id”: “p_link4”,
“type”: “url”,
“label”: “link”,
},
{
“id”: “p_link5”,
“type”: “url”,
“label”: “link”,
},
{
“id”: “p_link6”,
“type”: “url”,
“label”: “link”,
}],
“presets”: [
{
“name”: “Reviews slider lniks”,
“settings”: {
}
}
]

}
{% endschema %}

Hello there!

this would be used to create the iamge picker and the url for it

{
      "type": "image_picker",
      "id": "image",
      "label": "image",
      "info": "image here"
    },
    {
      "type": "url",
      "id": "image_link",
      "label": "image_link",
      "info": "iamge link here"
    }
  ],

but make sure to add {{ section.settings.id }}

1 Like

Thanks, think I had to many commas.