Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit 5c71837

Browse files
author
Shae Smith
committed
update twitter image tag
1 parent 6301ee9 commit 5c71837

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/modules/dosomething/dosomething_metatag/dosomething_metatag.module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ function dosomething_metatag_get_permalink_vars() {
165165
$element = array(
166166
'#tag' => 'meta',
167167
'#attributes' => array(
168-
"property" => "twitter:image",
168+
"property" => "twitter:image:src",
169169
"content" => $image,
170170
),
171171
);
172-
drupal_add_html_head($element, 'twitter:image');
172+
drupal_add_html_head($element, 'twitter:image:src');
173173

174174
$element = array(
175175
'#tag' => 'meta',

0 commit comments

Comments
 (0)