Add thumbnail class for thread