{{#preview}}
{{#equal type "image"}} {{/equal}} {{#equal type "audio"}} {{/equal}} {{#equal type "video"}} {{/equal}} {{#equal type "link"}} {{#if thumb}} {{/if}}
{{/equal}} {{#equal type "error"}} {{#equal error "image-too-big"}} This image is larger than {{friendlysize maxSize}} and cannot be previewed. Click here to open it in a new window. {{/equal}} {{#equal error "message"}}
A preview could not be loaded. Click here to open it in a new window.
{{message}}
{{/equal}} {{/equal}}
{{/preview}}