File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
* Plugin Name: The SEO Framework - Add image to Schema.org/WebPage
4
4
* Plugin URI: https://theseoframework.com/
5
5
* Description: Adds image data to The SEO Framework's Schema.org graph.
6
- * Version: 1.0 .0
6
+ * Version: 1.1 .0
7
7
* Author: Sybre Waaijer
8
8
* Author URI: https://theseoframework.com/
9
9
* License: GPLv3
@@ -72,9 +72,10 @@ public static function build( $args = null ) {
72
72
// Hence, this will probably be the first graph item that is iterable.
73
73
foreach ( \tsf ()->image ()->get_image_details ( $ args , false , 'schema ' ) as $ image ) {
74
74
$ details = [
75
- '@id ' => static ::get_id ( $ args ),
76
- '@type ' => &static ::$ type ,
77
- 'url ' => $ image ['url ' ],
75
+ '@id ' => static ::get_id ( $ args ),
76
+ '@type ' => &static ::$ type ,
77
+ 'url ' => $ image ['url ' ],
78
+ 'contentUrl ' => $ image ['url ' ],
78
79
];
79
80
80
81
// Don't report dimensions if 0; 0 doesn't get scrubbed.
You can’t perform that action at this time.
0 commit comments