$context.putPageValue("thumbsize", "small") #if($otherassets.size() > 1) $context.putPageValue("thumbsize", "crop") #end #set($convertpreset = $mediaarchive.getCachedData("convertpreset", "largeimage" ) ) #ifnull($convertpreset) #set($convertpreset = $mediaarchive.getCachedData("convertpreset", "webplargeimage" ) ) #end $context.putPageValue("convertpreset", $convertpreset) #foreach($entry in $otherassets) $context.putPageValue("value", $entry.id) #set($rendertype = $mediaarchive.getMediaRenderType($entry.fileformat)) #if(!$rendertype || $type =="rendertype") #set( $rendertype = "mime" ) #elseif( $rendertype =="video" || $rendertype =="documentX") #set( $rendertype = "image" ) #end
#if($chat.user == $user.id || $caneditcollection) #end $context.putPageValue("asset", $entry) #set($searchhome = "${finderhome}/views/modules/asset/results/chatterbox") $context.putPageValue("searchhome", $searchhome) #if($caneditcollection) $context.putPageValue("download_enabled", "true") #end #if($canviewsettings) $context.putPageValue("assetlink_enabled", "true") #end $context.putPageValue("apphome", $finderhome) $pages.include("${searchhome}/thumbnails/${rendertype}.html?assetid=${entry.id}", $context) ##$pages.include("${finderhome}/views/modules/asset/components/xml/types/assetpicker/preview.html?assetid=${entry.id}", $context)
#end