#set($totalpages = $numberutils.toInt($asset.pages)) #set ( $hitssessionid = $context.findValue("hitssessionid"))
#set( $type = $mediaarchive.getMediaRenderType($asset.fileformat)) #if( !$thumbsize ) #set( $thumbsize = "largepreview" ) #end $context.putPageValue("thumbsize",$thumbsize) $context.putPageValue("viewer","summary") #if (${type} == "video") $pages.include("$apphome/components/results/thumbnails/${type}.html", $context) #else ## #if($asset.fileformat == "gif") #set($cdnprefix = $!{mediaarchive.getCatalogSettingValue("cdn_prefix")}) #if(!$cdnprefix ) #set($cdnprefix = $context.siteRoot ) #end $context.putPageValue("cdnprefix", $cdnprefix) $context.putPageValue("useoriginal", "true") #end $pages.include("$apphome/components/results/thumbnails/${type}.html", $context) ## #end