-
Image preview extension
Hi All,
First of all, I hope I am posting in the right spot =)
I just started working with Contao (version 2.9) and I am taking care of the news section.
I just inserted a facebook plugin at the bottom of the news details but, when sharing on facebook, it won't show the image.
What do I need for make it possible?
Thank you!
Miri
-
Hi
You're looking for Facebook-specific HTML meta tags (called Open Graph).
You'll need something like this in the "<head>" part of your HTML code.
HTML Code:
<meta property="og:image" content="http://domain.myimage.jpg"/>
Make sure it fulfils the size requirements, otherwise it won't be shown. Check out developers.facebook.com for more details.