added jpg to image type for thumbnails on resources. pdf weren't loading in IE8