{include file="$blogtemplate/header.template"}
{$resource->getDescription()}
{if $resource->isImage()} {else} {* show some information about the file *} {if $resource->isSound()}{$resource->getFileName()}
{$locale->tr("format")}: {$metadata->getFormat()|upper}
{$locale->tr("length")}: {$metadata->getLengthString()}
{$locale->tr("sample_rate")}: {$metadata->getSampleRate()} Khz
{elseif $resource->isVideo()}{$resource->getFileName()}
{$locale->tr("format")}: {$metadata->getFormat()|upper}
{$locale->tr("size")}: {$metadata->getHeight()} x {$metadata->getWidth()}
{$locale->tr("length")}: {$metadata->getLengthString()}
{$locale->tr("video_codec")}: {$metadata->getVideoCodec()}
{$locale->tr("audio_codec")}: {$metadata->getAudioCodec()}
{elseif $resource->isZip()}{$resource->getFileName()}
{$metadata->getTotalFiles()} {$locale->tr("files")}
{$locale->tr("uncompressed_size")}: {$metadata->getRoundedUncompressedSize()}
{else}{$resource->getFileName()}
{/if} {/if}