We are using the excellent Lazy Load XT jQuery plugin in this example. In order to make it take effect, we need to replace the srcset attribute with data-srcset. This is one situation where the rwp_attributes() function is handy.

<?php
$attribute = rwp_attributes( get_post_thumbnail_id(), array(
  'element' => 'img'
) );
echo '<img data-srcset="'.$attribute['srcset'].'" sizes="'.$attribute['sizes'].'">';
?>

Blog post 1

Blog post 2

Blog post 3

Blog post 4

Blog post 5