The pluginplug-in, with two additional SQL queries, joins the original data sample $wp_query->posts all meta fields, all files and images.
$post->files->guidthe first file parameter guid is the same direct link
$post->files->thumbnailFirst Image Thumbnail
$post->files->thumbnailsecond file is a miniature
$post->files->mediumthe third file is the average miniature
$post->files->fullfourth file is a complete picture