THE PROBLEM:
I spent whole day implementing it. My main criteria was to do it for all my posts without touching even a single post in Wordpress.
LinkedIn solution didn't work. Also LinkedIn caches the images for 7 days and if you changed the image, you are not able to look at refreshed image. So these were the constraints and I was able to implement it using some PHP, Javascript and using dummy parameter to refresh LinkedIn cache. Here's the solution