Variable check for thumbnails