OG - Change image flow order

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
Winchester
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Aug 2016, 05:11

OG - Change image flow order

Post by Winchester »

Hi,

I would like to force it to only use images in the "images/phocaopengraph"[b/] folder. My full article image is too large for FB (740x270, which cuts off when displayed on FB) and the introtext image is too small (220x110). Also, I took the opportunity to create the correct sized image for FB display (470x235).

How would I go about doing this?

Also, is there a way to set a default image? Example: If no image in "images/phocaopengraph"[b/] folder with the article ID, then it chooses a default one from the folder instead to us? ie: "default.png"[b/].

Any help will be appreciated and thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: OG - Change image flow order

Post by Jan »

Hi, the default image you can set in parameters of the plugin, see the image displaying flow here:
https://www.phoca.cz/documents/70-phoca- ... open-graph
If you need other flow, this needs to be directly customized in the code :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply