Phoca Open Graph Plugin : custom image fields

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 14 Oct 2021, 20:56

Phoca Open Graph Plugin : custom image fields

Post by Semaphore » 14 Oct 2021, 21:50

We need to use an image custom field as og:image
We can image it would be just after the Fulltext image in the select image flow.

If I write a user case :
As a admin
I want to be able to select an image custom field
In order to select it for displaying it in og meta

Sadly I need a fix very quickly : if you have a quick and dirty code to implement in the phocaopengraph for using a specific custom field (no need for a backoffice UI for selecting the field).

Thanks for your help (if you can of course)

User avatar
Phoca Hero
Phoca Hero
Posts: 44318
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

Re: Phoca Open Graph Plugin : custom image fields

Post by Jan » 19 Oct 2021, 20:05

Hi, for now, this procedure is used for displaying the image: ... open-graph

If this does not fit your needs, then the only one option is to customize the code directly.

If you find Phoca extensions useful, please support the project

Post Reply