You can try:
<?php
$args = array( 'numberposts' => '12' );
$recent_posts = wp_get_recent_posts( $args );
foreach( $recent_posts as $recent ){
if ( has_post_thumbnail() ) {
if (is_category('stills')){
the_post_thumbnail( 'thumbnail' );
}
}
}?>