{include file="$blogtemplate/header.template"}
{assign var=metadata value=$resource->getMetadataReader()} {assign var=updated value=$resource->getTimestamp()}
{$resource->getFileName()}
Filename: {$resource->getFileName()} ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %B, %Y")} | {$locale->tr("download")}

{$resource->getDescription()}

{if $resource->isImage()}
{$resource->getFileName()}, {$metadata->getRoundedSize()}
{else} {* show some information about the file *} {if $resource->isSound()} Sound
{$resource->getFileName()}

{$locale->tr("format")}: {$metadata->getFormat()|upper}
{$locale->tr("length")}: {$metadata->getLengthString()}
{$locale->tr("sample_rate")}: {$metadata->getSampleRate()} Khz {elseif $resource->isVideo()} Sound
{$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()} Sound
{$resource->getFileName()}
{$metadata->getTotalFiles()} {$locale->tr("files")}
{$locale->tr("uncompressed_size")}: {$metadata->getRoundedUncompressedSize()} {else} Sound
{$resource->getFileName()} {/if} {/if}

{assign var=album value=$resource->getAlbum()} {if $prevresource}« | {/if} {$locale->tr("back")} {if $nextresource}| »{/if}

{include file="$blogtemplate/footer.template"}