Hi,
i’ve set thumbnail size to 300×300 and i change line 254 in frontend > class-opengraph.php:
from
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), apply_filters( 'wpseo_opengraph_image_size', 'large' ) );
to
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), apply_filters( 'wpseo_opengraph_image_size', 'thumbnail' ) );
unfortunately it’s does’t work…
where i must add function:
// Tell WP SEO to use a larger thumbnail
function sc_opengraph_image_size($size="medium") {
return "full";
}
add_filter('wpseo_opengraph_image_size','sc_opengraph_image_size',10,1);
?
I have WP 3.5.1, and WordPress SEO 1.4.7