Closed poomer1988 closed 6 years ago
Hi,
i noted that the 'defaultImage' will not rendered if the (fallback) og_image doesn't exist.
This line should be fixed:
from ` $ogImageURL = $pluginSettings['social.']['defaultImage'];
if ($meta['og_image']) { $ogImageURL = $this->getImageOrFallback('og_image', $meta); }
`
to ` $ogImageURL = $pluginSettings['social.']['defaultImage'];
if ($meta['og_image']) { $ogImage = $this->getImageOrFallback('og_image', $meta); if ($ogImage) { $ogImageURL = $ogImage; } }
Thanks for the hint. I fixed it in dev and branch 2x.
Hi,
i noted that the 'defaultImage' will not rendered if the (fallback) og_image doesn't exist.
This line should be fixed:
from ` $ogImageURL = $pluginSettings['social.']['defaultImage'];
`
to ` $ogImageURL = $pluginSettings['social.']['defaultImage'];
`