I like to post articles I have on my Joomlart site to LinkedIn to share it, but it seems LinkedIn does not pull in the photo unless it is embedded inside the article, which I often don't do; I mainly use the intro and full image.
In reading, I found that Joomla doesn't have the LinkedIn meta tags; and LinkedIn offers a suggestion:
Provide a metadata tag for the og:image in the page's head section. For example:
<meta name="image" property="og:image" content="[Image URL here]">
This article talks about to create an override for Twitter and Facebook so that they pull the intro or full image, essentially Open Graph Tags: https://www.collectiveray.com/joomla-facebook-open-graph-twitter-cards
How to Enable Joomla Open Graph tags
*1. Create a Template Override for articles
Extensions > Templates > Templates > (your template) Details and Files > Create Overrides > Components > comcontent > article
Once you have created the article template override, you can add the metadata to the override which is going to be used to display your article. Essentially, you'll need to add the following content to the article such that the metadata is picked up from your article.
My question is does anyone have any advice on how to pull this off correctly in adding the override that LinkedIn suggests?
Much thanks
tp