Different default og:image per forum

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
horseguards
Registered User
Posts: 43
Joined: Sun Oct 26, 2008 12:18 pm
Name: P C

Different default og:image per forum

Post by horseguards » Sat Jan 13, 2018 11:43 pm

I have a website about dogs, and over 30 different forums, several about different dog matters (food, health, etc), and then, some more about each of the most popular dog breeds.

I need to know if there's a way to call a different og:image per forum, so the BullTerrier's forum shows, if there's no image in the post, by default, a bull terrier image, etc.

How can I do this?

thanks for your help!

User avatar
warmweer
Registered User
Posts: 853
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: Different default og:image per forum

Post by warmweer » Sun Jan 14, 2018 9:37 am

horseguards wrote:
Sat Jan 13, 2018 11:43 pm
I have a website about dogs, and over 30 different forums, several about different dog matters (food, health, etc), and then, some more about each of the most popular dog breeds.

I need to know if there's a way to call a different og:image per forum, so the BullTerrier's forum shows, if there's no image in the post, by default, a bull terrier image, etc.

How can I do this?

thanks for your help!
It's not quite clear what you want to achieve. (what's an og:image?)
A bug is a feature that hasn't made it to the manual (yet)

User avatar
horseguards
Registered User
Posts: 43
Joined: Sun Oct 26, 2008 12:18 pm
Name: P C

Re: Different default og:image per forum

Post by horseguards » Sun Jan 14, 2018 11:22 am

Open graph

User avatar
Lumpy Burgertushie
Registered User
Posts: 63631
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Different default og:image per forum

Post by Lumpy Burgertushie » Sun Jan 14, 2018 3:53 pm

is this somehow related to facebook? the only time I have seen og or open graph is when you are trying to send images from your board to facebook or something like that.

robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

User avatar
horseguards
Registered User
Posts: 43
Joined: Sun Oct 26, 2008 12:18 pm
Name: P C

Re: Different default og:image per forum

Post by horseguards » Mon Jan 15, 2018 9:09 pm

Yes, this is the image that Facebook takes every time someone shares a link in Facebook.

Instead of having just one generic image, it would be nice to have one per forum, but I don't know how to do it, or even if it is possible to do it.

Thanks

Post Reply

Return to “[3.2.x] Styles Support & Discussion”

Who is online

Users browsing this forum: Hanakin and 8 guests