[cart root] /
{$assign var="current_path" value="/"}
{foreach from=$parentFolderParts item="parentFolderPart"}
{assign var="current_path" value="$current_path/$parentFolderPart"}
{$parentFolderPart|gs} /
{/foreach}
Previewing {$currentFile|gs}
{if $fileSize}
Filesize: {$fileSize} KB
{/if}
{if $width and $height}
Width: {$width}px
Height: {$height}px
{/if}