ID)) { return; } $thumbnail_id = get_post_thumbnail_id( $post->ID ); if(empty($thumbnail_id)) { return; } $image_full = wp_get_attachment_image_src( $thumbnail_id, 'full'); if ($image_full !== false) { printf( "\n\n\t\t", esc_attr($image_full[0]), get_post_mime_type( $thumbnail_id ), $image_full[2], $image_full[1] ); printf( "\n\n", $image_full[0] ); } }