Facebook doesn't display image - how add og:image:secure_url

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
comyoo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Jun 2014, 21:30

Facebook doesn't display image - how add og:image:secure_url

Post by comyoo »

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?
User avatar
Jan
Phoca Hero
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

Post by Jan »

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:

Code: Select all

'og:image', JURI::base(false).$pictures->{'image_intro'}
Jan
If you find Phoca extensions useful, please support the project
Post Reply