seo
seo copied to clipboard
og:image not filled when field type is imagelist
findImageHelper() does not pick up imagelist-fields.
https://github.com/bobdenotter/seo/blob/56bc088de99802fd8e85bbecd7464a5b4844f3f8/src/SEO.php#L352-L355
Could be fixed with
} elseif ($field['type'] == 'imagelist') {
if($imageField === null){
$imageField = $this->record->values[$fieldname];
}
if (isset($imageField[0]['filename'])) {
$image = $imageField[0]['filename'];
}