{{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}}
{$itemData['image_caption']} {template="nsfwOverlay" app="gallery" location="front" group="global" params="$imageObj, FALSE"}
{{endif}}
{{if $reviewRating !== NULL}} {template="rating" app="core" params="'medium', $reviewRating" group="global"} {{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}}
{{endif}}