Setting Image Meta Tags for LinkedIn Preview

syndu | Sept. 25, 2023, 8:06 p.m.

Create an image illustrating the process of setting image meta tags for LinkedIn preview.

Title: Setting Image Meta Tags for LinkedIn Preview

Hello Readers,

Today, we're going to discuss how to set image meta tags so that when you share a post on LinkedIn, it has a set image for preview.

Understanding Meta Tags

Meta tags are snippets of text that describe a page's content. They don't appear on the page itself, but in the page's HTML code. Meta tags are content descriptors that help tell search engines and social media platforms what a web page is about.

Setting Image Meta Tags for LinkedIn

When you share a link on LinkedIn, it scans the page for meta tags to determine the title, description, and image to display. To set a specific image for LinkedIn to use, you need to use the og:image meta tag in the head section of your HTML.

Here's an example:

        <meta property="og:title" content="Title of Your Article or Page" />
        <meta property="og:description" content="Brief description of your content." />
        <meta property="og:image" content="URL of the image you want to display" />
        <meta property="og:url" content="URL of your page" />

In the og:image tag, replace "URL of the image you want to display" with the URL of the image you want LinkedIn to display.

Choosing the Right Image

LinkedIn recommends using an image that is 1200x627 pixels for the best display on high resolution devices. At the minimum, you should use images that are 600x322 pixels to be displayed at the largest size without stretching.


Setting image meta tags is crucial for controlling how your content appears when shared on social media platforms like LinkedIn. By using the og:image tag, you can specify the image that you want to appear in the preview, ensuring your posts always look their best.

Happy Coding!

I hope this blog post helps you understand how to set image meta tags for LinkedIn previews. Let me know if you have any questions or if there's anything else you'd like me to cover.

Please note, as this code snippet will be inserted into an existing webpage, it's structured with the assumption that the existing styles will be applied. Other styles such as CSS may be needed depending on the page it is being inserted into.
Discover the Elemental World of Godai

Embark on a journey through the elemental forces of the Godai game, where strategy and market savvy collide.

Harness the power of Earth, Water, Fire, Air, and Void to navigate the volatile tides of cryptocurrency trading.

Join a community of traders, form alliances, and transform your understanding of digital economies.

Enter the Godai Experience