Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
-
- Phoca Newbie
- Posts: 9
- Joined: 20 Apr 2021, 08:14
Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
Hello, Phoca Open Graph Content Plugin does not correctly download an image from K2 v2.10.4 Dev Build 20210416. An image from another article in the same category is being downloaded.
-
- Phoca Newbie
- Posts: 9
- Joined: 20 Apr 2021, 08:14
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
Here you can see how it works. Copy any article yourself and paste it on Facebook. You will see it download a different photo.
https://www.miastojaslo.pl/
https://www.miastojaslo.pl/
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
Hi, do you use content plugin or system plugin?
On your site, in your html source code, it seems like more different extensions are displaying the meta tags but I don't see any image tag so maybe this is the reason, why FB loads image which is not asked by you - the image meta tag is just not rendered on main page.
Jan
On your site, in your html source code, it seems like more different extensions are displaying the meta tags but I don't see any image tag so maybe this is the reason, why FB loads image which is not asked by you - the image meta tag is just not rendered on main page.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 20 Apr 2021, 08:14
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
<meta property = "og: image" is incorrectly retrieved than
<meta property = "og: url"
<meta property="og:title" content="Na uczniów czekają nowoczesne pracownie informatyczne - Miasto Jasło" />
<meta property="og:type" content="article" />
<meta property="og:image" content="https://www.miastojaslo.pl/images/aktua ... awirus.jpg" />
<meta property="og:url" content="https://www.miastojaslo.pl/aktualnosci/ ... yczne.html" />
<meta property = "og: url"
<meta property="og:title" content="Na uczniów czekają nowoczesne pracownie informatyczne - Miasto Jasło" />
<meta property="og:type" content="article" />
<meta property="og:image" content="https://www.miastojaslo.pl/images/aktua ... awirus.jpg" />
<meta property="og:url" content="https://www.miastojaslo.pl/aktualnosci/ ... yczne.html" />
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
Hi, see the documentation of the Open Graph plugin:
- you can use content (used in article or blog or featured view)
- or system plugin (on other website places)
In options of the plugin you can set which image should be displayed:
https://www.phoca.cz/documents/70-phoca ... open-graph
It depends on which plugin do you use, on which options did you set and mainly on which view you are displaying the image.
Before testing on Facebook, etc, you should check the source html code to see which image is rendered there and then compare with Facebook.
Jan
- you can use content (used in article or blog or featured view)
- or system plugin (on other website places)
In options of the plugin you can set which image should be displayed:
https://www.phoca.cz/documents/70-phoca ... open-graph
It depends on which plugin do you use, on which options did you set and mainly on which view you are displaying the image.
Before testing on Facebook, etc, you should check the source html code to see which image is rendered there and then compare with Facebook.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 20 Apr 2021, 08:14
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
Yes I know. After updating to the newest K2 v2.10.4 Dev Build 20210416 this problem appeared. They changed something in K2 and now phoca plugin needs to be adapted.
-
- Phoca Newbie
- Posts: 9
- Joined: 20 Apr 2021, 08:14
Odp: Phoca Open Graph Content Plugin wyświetla zdjęcia na Facebooku niepoprawnie
I'm going back to K2 v2.10.4 Dev Build 20210227 maybe if others ask, someone will fix it.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
Hi, maybe it will be good to ask K2 developers if there is some change which can somehow influence it
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 9
- Joined: 20 Apr 2021, 08:14
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
They found it to be the fault of the installed plugin (phoca), not K2.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Open Graph Content Plugin displays pictures on facebook incorrectly
Do you have more detailed information. What does exactly mean "fault of the installed plugin"?
Jan
Jan
If you find Phoca extensions useful, please support the project