Hi,
We use the phoca plugin on our website comyoo.nl but facebook doesn't show intro images. I think it has to do with our ssl connection and I wan't to try to add the og:image:secure_url tag in the plugin. How can I add it to the code or try if this is the solution?
Facebook doesn't display image - how add og:image:secure_url
-
- Phoca Newbie
- Posts: 2
- Joined: 24 Jun 2014, 21:30
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Facebook doesn't display image - how add og:image:secure
Hi, I think, the best way is to directly modify the plugin.
plugins\content\phocaopengraph\phocaopengraph.php
But if the site uses ssl, the https should be use. Just see the code in plugin and test to change it, search for:
Jan
plugins\content\phocaopengraph\phocaopengraph.php
But if the site uses ssl, the https should be use. Just see the code in plugin and test to change it, search for:
Code: Select all
'og:image', JURI::base(false).$pictures->{'image_intro'}
If you find Phoca extensions useful, please support the project