Hi rtomo,
You can go to All in One SEO, Social Meta and set the Select OG:Image Source dropdown to First Available Image. The way this option works is that it uses the Featured Image, if none is set it looks for an image in the post content, then it looks for an image attached to the post, and finally it falls back to the Default Image if no images are present for the post.
Thank you, but…
When im dont add the featured image, the plugin doesnt add to the header og:image code line.
Why?
Hi rtomo,
What do you have set under All in One SEO, Social Meta, Select OG:Image Source? Can you provide me with the URL of a post that doesn’t have a featured image.
Hi!
Dont post, that problem on pages.
Here is when i’m add featured image: http://shisharoma.com/tastes/
....
<meta property="og:type" content="article" />
<meta property="og:url" content="http://shisharoma.com/tastes/" />
<meta property="og:image" content="http://shisharoma.com/wp-content/uploads/hokah-steam-stone-pack-800x533.jpg" />
<meta property="og:site_name" content="Shisharoma - High quality shisha steam stones" />
....
And here isnt add featured image: http://shisharoma.com/re-flavoring-and-re-using-shisharoma/
....
<meta property="og:type" content="article" />
<meta property="og:url" content="http://shisharoma.com/re-flavoring-and-re-using-shisharoma/" />
<meta property="og:site_name" content="Shisharoma - High quality shisha steam stones" />
....
What do you have set under All in One SEO, Social Meta, Select OG:Image Source?
Here it is: http://i59.tinypic.com/98dmvp.png
(Kiemelt = featured)
In that case please see my earlier response where I suggested you change that to First Available Image.
Hy!
I’m tried that. Dont solve the problem 🙁
This options add the second (not the frist) avaible picture to og:image.
Hi rtomo,
That option uses the Featured Image, if none is set it looks for an image in the post content, then it looks for an image attached to the post, and finally it falls back to the Default Image if no images are present for the post.
Only the post? And the pages?
This option works for all content types – posts, pages and custom post types.