Topic on Extension talk:OpenGraphMeta

Innosflew (talkcontribs)

I tried to install this on mediawiki 1.27 and adding {{#setmainimage:Filename.ext}} to all of my infoboxes but nothing is happening. When I try to share any of my pages it doesn't use the image that I set for it. I also checked the head of the page and it doesn't have an og:image in the meta tags, but it seems to have the other og: tags, such as og:type, og:site_name, og:title, and og:url.

Tribly (talkcontribs)

I have modified 47 line of the OpenGraphMeta.php of the OpenGraphMeta extension from Title::newFromDBkey($data['dbkey'], NS_FILE) to Title::newFromText($data['dbkey'], NS_FILE) and the og:image in the meta tags seems to apear now, but it still not willing to use the infobox image for a few pages.

Reply to "Not working"