Gallery json meta is wrong ? Help!


#1

I want my gallery images to have Title, Description. So i’ve tried this way:

{
“meta”: {
“title”: {
“type”: “text”,
“label”: “Title”
},
“description”: {
“type”: “text”,
“label”: “Title”
}

}

}

Also what are the other “types” for example can i have a account link on this one ?

Getting back to the problem, the result is this:

title


#2

@Hurdock, you can try:

{
  "meta": {
    "title": {
      "type": "text",
      "label": "Title"
    },
    "description": {
      "type": "textarea",
      "label": "Description",
      "options": {
        "rows": 2
      }
    }
  }
}

in theory any type is accepted, if you also want to have each image linked to one account you can use:

{
  "meta": {
    "title": {
      "type": "text",
      "label": "Title"
    },
    "description": {
      "type": "textarea",
      "label": "Description",
      "options": {
        "rows": 2
      }
    },
    "author": {
      "type": "account-link",
      "label": "Author",
      "options": {
        "multiple": false
      }
    }
  }
}