You can set the post-specific hero separately from the theme’s hero settings.
This setting affects the open graph and JSONLD. If there is a hero in the theme setting and you set a post-specific hero, the open graph will generate multiple images, and JSONLD will take precedence over post-specific hero.
Examples
case 1 — in Object
1 2 3 4 5 6 7
title:post-specificheroinobject date:2019-01-2115:53:01 category:Frontmatter hero: url:https://farm1.staticflickr.com/817/40620740124_9285c8b565_b.jpg width:1024# this value is optional height:324# this value is optional
You can config url, width and height for hero. The width and height are optional, but JSONLD reflects these values when you set.
If you set up hero, you can find the generated code as follows.