How to make og:image automatic?

Is it possible to make automatic og:image.

For example, in Yandex Zen this is
5cf7af65b61f7303452073.png

On TJ VC.RU

That means the picture is taken from the article, and vstavlyaetsya title, category
March 23rd 20 at 19:12
2 answers
March 23rd 20 at 19:14
If you need to have the system automatically generate such images, you need to write a script in php (or something else). In relation to Wordpress data markup easier to insert, and the image itself to make the handles. Ready plugins are not met.
Handles we did, but tired.
Thanks for the reply. - donnell_Roh commented on March 23rd 20 at 19:17
March 23rd 20 at 19:16
Can.

But seriously, too little input. The easiest way is when content is given to the backend. In this case, he can insert any of these articles in the OG markup.
And how to do it? - donnell_Roh commented on March 23rd 20 at 19:19
The answer depends on what you are using on the backend (framework, cms), as well as a store the article (the entire article or break it up into blocks) and form data to send to the client. - eliza6 commented on March 23rd 20 at 19:22
@eliza6, wordpress. - donnell_Roh commented on March 23rd 20 at 19:25
Try this for example https://ru.wordpress.org/plugins/og/ - eliza6 commented on March 23rd 20 at 19:28
@eliza6, there are no settings! - donnell_Roh commented on March 23rd 20 at 19:31

Find more questions by tags HTML