wp_get_attachment_image_src seems not to work with images from nextgen gallery
that are set as featured.
I try to get the image src to use it as a thumbnail for facebook's sharing:
$thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID
), 'large' );
echo '<meta property="og:image" content="' . esc_attr( $thumbnail_src[0] ) . '"/>';
But when I use nextgen's image as featured, I get empty content for that meta
tag.
Original issue reported on code.google.com by nowin...@gmail.com on 26 Mar 2012 at 8:17
Original issue reported on code.google.com by
nowin...@gmail.com
on 26 Mar 2012 at 8:17