Skip to main content
  Thursday, May 11 2017
  4 Replies
  5.7K Visits
  Subscribe
Default the og:image tag for facebook to use the Wordpress post featured image if no explicit image is defined in the Social sharing Facebook image field. Currently it looks like the og: tags for other perperties such as title and description are pulled from the page meta data if they are not explicity provided on the Social Sharing tab. The og:image tag (which is important) is not defined and so it must be infered by Facebook. It would be much better to just use the featured image for the og:image tag if not explicitly set.
A
6 years ago
Hi,

Thanks for adding your feature request here. We’ll keep that in mind for a future release!

Cheers,
T
Hi,

The problem is the that the social media images should have a specific size or it has really bad display.
The only trick we can do about that is from the configuration to add a fallback image (with the right proportions).

Cheers,
N
6 years ago
Hi Tristan, thanks for the reply. Yes, I agree with you that the image size for social sharing (1200x630) would result in a non-optimal display of the featured image. However, Facebook og scraping will do that to the featured image no matter what and by inference assign it to og:image. So the benefit of having Meta SEO default to specifying the featured image (if available) as the og:image is that Facebook will no longer throw an exception and state that the tag is missing.

I kind of like the combination of the two ideas. First, provide a default og:image setting for the site under the Meta SEO settings. Second, provide an on/off option in setting to "Use featured image for Social Sharing". If that option is on the flow would be:

1. If post specific og:image is provided, use it, else:
2. If "use featured image" is on and there is a featured image provided, use it, else:
3. If a site setting for og:image is provided, use it

Does that sound reasonable?
T
Hi,

Sounds good, we'll think about that. Thanks.

Cheers,
  • Page :
  • 1
There are no replies made for this post yet.