BL-815: Improve previews of templates

- locate xmatter CSS correctly
- hide images with no src
Merge branch 'tryAgainUpload'