#set($idcount = $context.getRequestParameter("idcount"))
#if(!$idcount)
#set($idcount = "")
#end
#if(!$val)
#set($val = $context.getRequestParameter('assetid'))
#end
#if($val && $val != "")
#set( $foundrow = $mediaarchive.getAsset($val) )
#end
#if($val && $val!="" && $foundrow && !$context.getRequestParameter("readonly") == "true")
#end
#set( $type = $mediaarchive.getMediaRenderType($foundrow.getFileFormat()))
$context.putPageValue("cell", $foundrow)
$context.putPageValue("hit", $foundrow)
$context.putPageValue("showdetails", "false")
$context.putPageValue("thumbsize", "thumb")
#set( $sourcepath = $foundrow.sourcePath )
##$pages.include("${apphome}/components/results/thumbnails/${type}.html", $context)
#if($foundrow.youtube == "true")
#set($img = $foundrow.thumburl)
#else
#set($img = "$apphome/views/modules/asset/downloads/preview/thumb/${foundrow.sourcepath}/image200x200.webp")
#end