{{if $image}} {{$imageObj = \IPS\gallery\Image::constructFromData( $itemData, FALSE );}} {{endif}} {{if $condensed}} {{if $image}}
{$itemData['image_caption']}
{template="nsfwOverlay" app="gallery" location="front" group="global" params="$imageObj, FALSE"}
{{else}} {{endif}} {{else}}
{{if $image}}
{$indexData['index_title']} {template="nsfwOverlay" app="gallery" location="front" group="global" params="$imageObj, FALSE"}
{{endif}}
{{if $albumData}}

{lang="from_the_album"} {$albumData['album_name']}

{{endif}} {{if trim( $indexData['index_content'] ) !== ''}}
application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'search' )}}data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='3 lines' data-ipsTruncate-watch='false'{{else}}data-searchable data-findTerm{{endif}}> {expression="\IPS\Content\Search\Result::preDisplay( $indexData['index_content'] )" raw="true"}
{{endif}} {{if $itemData['image_copyright']}}

© {$itemData['image_copyright']}

{{endif}}
{{endif}}