You can achieve this by developing custom code like following. You can find more information about WP_Query here https://codex.wordpress.org/Class_Reference/WP_Query
<?php
$args = array( 'posts_per_page' => 100, 'meta_key' => '_thumbnail_id', 'ignore_sticky_posts' => 1 );
// The Query
$the_query = new WP_Query( $args );
// The Loop
if ( $the_query->have_posts() ) {
while ( $the_query->have_posts() ) {
$the_query->the_post();
if ( has_post_thumbnail() ) { ?>
<figure <?php if ( $the_query->current_post == 0 && ! is_paged() ){ echo 'class="show"'; } ?> >
<img src="https://wordpress.stackexchange.com/questions/267337/<?php the_post_thumbnail_url(); ?>" />
</figure>
<?php }
}
/* Restore original Post Data */
wp_reset_postdata();
}
?>