imageDimension
Used to set image ratio on theme setting.
imageDimension
{
"type": "imageDimension",
"id": "blog_size",
"force_reload": true,
"label": "i18n.SizeOfImages",
"options": [
{
"value": "190x250",
"label": "i18n.OptimizedForTheme"
},
{
"value": "custom",
"label": "i18n.SpecifyDimensions"
}
]
},
Required fields: type
, label
, id
, and options
.
"custom" value option will allow users to specify the width/height. Else, use values set by the theme developer. An example image follows
Did you find what you were looking for?