# {$blog->getBlog()}{$postPageTitle}

{if $badbehavior} {$badbehavior->showBB2JavaScript()} {/if}

# {$blog->getBlog()}

{$blog->getAbout()}
{assign var=metadata value=$resource->getMetadataReader()} {assign var=updated value=$resource->getTimestamp()}

#### {$resource->getFileName()} ({$metadata->getRoundedSize()}) | {$locale->tr("created")|capitalize} {$locale->formatDate($updated,"%d %B, %Y")} | {$locale->tr("download")}

{$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}

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

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