Page 1 of 1

Open Graph - multiple images from article + newsflash module

Posted: 05 Jan 2024, 18:40
by wymorfis
My homepage consists of a standard article which includes a newsflash module. Phoca open graph creates multiple image tags, one for each of the newsflash articles, and one for the primary parent article, but I always end up with the wrong image on Facebook. I added mod_articles_news to both Disable In Views and Disable In Options, no dice. How do I get this to work?

<meta property="og:title" content="newsflash atricle title" />
<meta property="og:type" content="article" />
<meta property="og:image" itemprop="image" content="newsflash atricle image" />
<meta property="og:url" content="site url" />
<meta property="og:site_name" content="site name" />
<meta property="og:description" content="newsflash article description" />
<meta property="fb:app_id" content="xxx" />
<meta property="og:title" content="newsflash atricle title" />
<meta property="og:image" itemprop="image" content="newsflash atricle image" />
<meta property="og:description" content="newsflash article description" />
<meta property="og:title" content="main article title" />
<meta property="og:image" itemprop="image" content="primary article image" />
<meta property="og:description" content="primary article description" />

Re: Open Graph - multiple images from article + newsflash module

Posted: 10 Jan 2024, 01:56
by Jan
Hi, unfortunately, modules do not have any view, as they are displayed on component's view websites. So there cannot be filter options for modules and views.

Did you try to enable this parameter: "Check Article Layout Parameter"?

Jan