diff --git a/src/Seo/Seo.php b/src/Seo/Seo.php index 9b3053a..8724b60 100644 --- a/src/Seo/Seo.php +++ b/src/Seo/Seo.php @@ -246,9 +246,13 @@ public function image(): string if(isset($this->config['default']['image'])) { return $this->cleanUp($this->config['default']['image']); - } else { - return ''; } + + if (!empty($this->record->getExtras()['image'])) { + return $this->record->getExtras()['image']['url']; + } + + return ''; } public function canonical(): string