@@ 337-341 (lines=5) @@ | ||
334 | $img_height = $image_size[2]; |
|
335 | } |
|
336 | ||
337 | if (_jetpack_og_get_image_validate_size($img_width, $img_height, $width, $height)) { |
|
338 | $image['src'] = $image_url; |
|
339 | $image['width'] = $width; |
|
340 | $image['height'] = $height; |
|
341 | } |
|
342 | } |
|
343 | } |
|
344 | ||
@@ 351-355 (lines=5) @@ | ||
348 | if ( ! empty( $image_dimensions ) ) { |
|
349 | $img_width = $image_dimensions['width']; |
|
350 | $img_height = $image_dimensions['height']; |
|
351 | if (_jetpack_og_get_image_validate_size($img_width, $img_height, $width, $height)) { |
|
352 | $image['src'] = jetpack_get_site_logo( 'url' ); |
|
353 | $image['width'] = $width; |
|
354 | $image['height'] = $height; |
|
355 | } |
|
356 | } |
|
357 | } |
|
358 | ||
@@ 375-379 (lines=5) @@ | ||
372 | $img_height = $image_size[2]; |
|
373 | } |
|
374 | ||
375 | if (_jetpack_og_get_image_validate_size($img_width, $img_height, $width, $height)) { |
|
376 | $image['src'] = $image_url; |
|
377 | $image['width'] = $width; |
|
378 | $image['height'] = $height; |
|
379 | } |
|
380 | } |
|
381 | ||
382 | // Finally fall back, blank image |