Added file preview image to template.