added thumbnails support