{{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 isset( $itemData['attachedImages'] )}}
{{foreach $itemData['attachedImages'] as $image }} {{$imagePath = $image['thumb_location'] ?: $image['location'];}}
url"}"{{else}}style='background-image: url({backgroundimage="\IPS\File::get( $image['extension'], $imagePath )->url"})'{{endif}}>
{{endforeach}}
{{endif}}