I have defined this in schema.json :
{
"type": "image",
"id": "zeva_image_1",
"label": "Image"
}
And i need to use it in a template and i am doing it like this :
<img src="{{ settings.zeva_image_1 | asset_url }}" />
But its not working out for me.
can anyone help in correcting this ?
2
Answers
1st Method
If you want to use the type “image” then you should put the file extension too.
and
2nd Method
Also you can use the “image-picker” type like
with
Maybe It help you