Skip to content

Commit e3a4052

Browse files
committed
improved image getting in twitterCards
1 parent e276902 commit e3a4052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/TwitterCards.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function run()
2626
if (strpos($name, 'twitter:') === 0) {
2727
$name = substr($name, 8);
2828

29-
if ($name === 'image') {
29+
if ($name === 'image' || $name === 'image:src') {
3030
$this->bag->add('images', $value);
3131
} else {
3232
$this->bag->set($name, $value);

0 commit comments

Comments
 (0)