added support for thumbnails to load