CMS Development

VoytechMedia
Contributor

Social media post preview - not showing image properly

SOLVE

Hi!
When I am trying to share blog post https://www.ziflow.com/blog/product-release-easily-surface-new-feedback-with-ziflows-unread-comments

On LinkedIn, Twitter, Facebook
It returns "meta og:image" but not the one I want...
Actually, the first in order (I added some more og:images tags in my template because I wanted simply them to be visible on social share preview).
I don't know how to get rid of this first og:image - this is probably set as default for every subpage (whole domain). Any ideas how to "overrirde" og:images so to LinkedIn, Twitter etc will be able to "see" them? Or get rid of the first one that I don't want?
Do you know maybe if social media preview supports .webp format?
I appreciate the help! 

VoytechMedia_1-1648200073298.png

 

VoytechMedia_0-1648200038888.png

 

VoytechMedia_2-1648200129679.png

 

0 Upvotes
2 Accepted solutions
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Social media post preview - not showing image properly

SOLVE

@VoytechMedia There's no way to remove the defaults unfortunately, but you can override them with some finagling. 

1. Twitter doesn't use open graph (og), you need to add a twitter:image meta with the image you want to use. The last meta will take presedence, so as long as your custom twitter:image is after the

{{ standard_header_includes }} it'll override the default.

2. The og: tag is where things get annoying. LinkedIn prioritiez the first meta, while Facebook prioritizes the last. So you'd need to place two og: tags. One before the {{ standard_header_includes }}

and one after the {{ standard_header_includes }}.

.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

View solution in original post

alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Social media post preview - not showing image properly

SOLVE

@VoytechMedia Yea, LinkedIn does not support WEBP so it's gonna grab whatever it can find that it does support. Either don't use WEBP at all or upload a completely separate image specifically for LinkedIn.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

View solution in original post

6 Replies 6
alyssamwilie
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Social media post preview - not showing image properly

SOLVE

@VoytechMedia I believe if you have the og tag with the Linked image above the one for Facebook that would work since they give different priority to tags. Other than that no other social has it's own specific meta like Twitter does.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
0 Upvotes
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Social media post preview - not showing image properly

SOLVE

@VoytechMedia Yea, LinkedIn does not support WEBP so it's gonna grab whatever it can find that it does support. Either don't use WEBP at all or upload a completely separate image specifically for LinkedIn.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
VoytechMedia
Contributor

Social media post preview - not showing image properly

SOLVE

Thank you @alyssamwilie !!
Is there a way maybe to point out to LinkedIn specific PNG image to be previewed like adding different meta tag particularly for LinkedIn?

0 Upvotes
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Social media post preview - not showing image properly

SOLVE

@VoytechMedia There's no way to remove the defaults unfortunately, but you can override them with some finagling. 

1. Twitter doesn't use open graph (og), you need to add a twitter:image meta with the image you want to use. The last meta will take presedence, so as long as your custom twitter:image is after the

{{ standard_header_includes }} it'll override the default.

2. The og: tag is where things get annoying. LinkedIn prioritiez the first meta, while Facebook prioritizes the last. So you'd need to place two og: tags. One before the {{ standard_header_includes }}

and one after the {{ standard_header_includes }}.

.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
VoytechMedia
Contributor

Social media post preview - not showing image properly

SOLVE

Thank you very much for the reponse @alyssamwilie !
I have one more problem with LinkedIn.... when I share my post blog it does not preview WEBP images...
I wanted to implement WEBP format to improve my website performance, 
Instead LinkedIn takes first photo from blog content (if exists, if not then does not display anything)... totally weird as this first photo from blog content is not in meta tag
Facebook and Twitter works... 🙂 
Any thoughts on that?

 

VoytechMedia_1-1649940903624.png

VoytechMedia_2-1649940939275.png

VoytechMedia_3-1649941059364.png

 

 

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Social media post preview - not showing image properly

SOLVE

@A_Wessolly ,

Any chance you could help out here 😀