Added support for thumbnails defined as background images to achieve nicely centered and filled thumbnails