Skip to content

LinkedIn can't read the meta image when generating previews #893

@coppolaemilio

Description

@coppolaemilio

I'm not sure what they changed, but it used to work. LinkedIn used to be able to show a preview of the blog post with the proper image, now it only pulls the author image.

If you want to check an example, you can do so here: https://www.linkedin.com/post-inspector/inspect/
And paste any article to test: https://godotengine.org/article/introducing-the-improved-ufbx-importer-in-godot-4-3/

I've tried modifying the meta properties at the <head> of the default layout but had no luck.
In my tests I did:

  1. <meta name="image" property="og:image" content="{{ site.url }}{{ page.image | default: '/assets/share-image.webp' }}">
  2. <meta property="og:image" content="{{ site.url }}{{ page.image | default: '/assets/share-image.webp' }}">
  3. <meta name="twitter:image" content="og:image" content="{{ site.url }}{{ page.image | default: '/assets/share-image.webp' }}">
    But it is still unresolved. If anyone knows how to make the changes feel free to comment here or send a PR. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic:contentIssues and PRs related to static content

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions