When a link is shared on LinkedIn, they analyze the HTML content to figure out what image they show in the preview. If an image can’t be found, you end up with a random one from your site, or an ugly default 🤮
It’s easy adding these properties to make your posts beautiful. According to this Stack Overflow Post, many social media sites use the Open Graph Protocol to search metadata and determine things like what image should be shown in the preview.
To kick the tires on your site, copy/paste a URL to one of your pages into the LinkedIn Post Inspector or the Facebook Post Inspector. At first nothing picked up from my site, but after implementing this issue, it’s looking a LOT better! I can now choose what image shows up in the preview when posting to LinkedIn!