added thumbnails support to theme