Is there any way to set a default image that appears when I share my website on Facebook? I've noticed that Facebook usually fetches the first image from the site to use as a thumbnail.
Social Sharing Images are small thumbnail image(s) that are displayed when you post your site link on any social media channel (including Facebook) or in text messaging.
You need to set the open graph image meta tag:
<meta property="og:image" content="http://example.com/logo.jpg"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="1024"> <meta property="og:image:height" content="1024">
For more info check the docs
<meta property="og:image" content="http://example.com/lamb-full.jpg"> <meta property="og:image:type" content="image/jpeg"> <meta property="og:image:width" content="200"> <meta property="og:image:height" content="200">
Image size should be be at least 200px X 200px
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With