Contentful logo

Contentful Community

Setting the feature image for social media purpose

Hello, Contentful community!

Any suggestions for defining the feature picture when posting a Contentful website to social media? Right now it’s pulling the photo from one of the random sections on the homepage. How we can set a specific picture to be displayed when posting the Contentful page URL on Facebook or LinkedIn?

Hello Paulina,

The pictured displayed when you share a link to your website (powered by Contentful) on Facebook does not depend on Contentful itself. It mainly depends on your website’s markup. See this https://developers.facebook.com/docs/sharing/best-practices/ documentation by Facebook on how you can optimize your markup accordingly. I hope this helps!

Best,
Daniel