Jump to content

og:image meta in Forums view


Ibai

Recommended Posts

Hi there,

When we share forum/categories in social media, it always loads the default community image. I'd like to be able to set a custom image for social media.

I think it is almost done, though it should be improved. For instance, we can set a card for each forum to show in the grid view:

image.png.03159b20ea5249f8c8c1ded41e613560.png

But it's not loaded in the opengraph as you can see here:

image.png.e3f5180ce8ed53ebc1839df613b7f1ed.png 

Any chance to add it to open graph?

 

Thanks!

Link to comment
Share on other sites

I was building a plugin/theme hook with this. Though I'd like to be native...

It's an easy plugin, I manage to get that image though I'm not able to add it to the <head> tag 😇. If I create a theme hook forum forumDisplay, I cannot get access to head tag from that template bit. Any ideas?

@opentype, I am talking about forum view, like this: https://invisioncommunity.com/forums/forum/499-feature-suggestions/

Edit:

May I edit metatags object from a web hook?

Edited by Ibai
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...