add fix for thumbnails
Merge pull request #690 from Tendrid/develop

add fix for thumbnails