Linkedin doesn't recognise og:image tag

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
chaldama
Phoca Member
Phoca Member
Posts: 17
Joined: 02 Sep 2019, 14:39

Linkedin doesn't recognise og:image tag

Post by chaldama »

Please see https://www.linkedin.com/post-inspector ... and-beyond

For some reason Linkedin does not recognise the og:image tag which is visible in the source code of the article https://www.smartflowapps.com/articles/ ... and-beyond

I found an old topic and I have tested, it is not a caching problem. The inspector gives a hint how the image tag should look like

Code: Select all

<meta name="image" property="og:image" content="[Image URL here]">
In my source code I see this which is different:

Code: Select all

<meta name="og:image" content="https://www.smartflowapps.com/images/field-mobility-photography-application-worker-using-tablet.jpg" />
Any idea how to get images displayed automatically in Facebook posts?

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Linkedin doesn't recognise og:image tag

Post by Jan »

Hi, did you try to change render type parameter (from name to property)?

Image

https://www.phoca.cz/documents/70-phoca ... aph-plugin
If you find Phoca extensions useful, please support the project
chaldama
Phoca Member
Phoca Member
Posts: 17
Joined: 02 Sep 2019, 14:39

Re: Linkedin doesn't recognise og:image tag

Post by chaldama »

Hi Jan,
Great that worked, thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Linkedin doesn't recognise og:image tag

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply