For one of my websites I am using Open Graph to enrich posts shared from my website. But LinkedIn is not picking the image specified in og:image. The image is modified for the L
I know it's old but this helped.
Linkedin caches link preview content for 7 days. You have to do the following to clear Linkedin Preview cache:
Step 1: Visit https://www.linkedin.com/post-inspector/inspect/
Step 2: Enter your url and click on Inspect, You will see the updated preview image
Step 3: Now try sharing your url on Linkedin
This question is a bit old but I ran into the same situation and got it solved so I just post my solution( or my understanding how it work) for others have the same problem.
(Thank you for @Justin Kominar, his answer in this question helps me.)
prefix="og: http://ogp.me/ns#
in your tag, when you have iframe(s), make sure which page is calling the share function. <meta>
tags in you site and give the correct type to <meta property="og:type>
(please go to ogp.me for more information) <meta property="og:url>
especially when you use dynamic urlog:url
( it is very important to understand linkedin will go to this page to look for the information not the page you call the share function, most of the time they are the same but sometimes that is not the case), you need to do step 1 and 2, set <meta og:image>
AND MAKE SURE THE IMAGE LINK IS VALID AND THE IMAGE DOES EXISTHope it will help.