#set($idcount = $context.getRequestParameter("idcount")) #if(!$idcount) #set($idcount = "") #end #ifnull($value) #set($value = $val) #end #ifnull($uploadenabled) #set($uploadenabled = true) #end #ifnull($browseenabled) #set($browseenabled = true) #end #ifnull($pickerid) #set($pickerid = "entitypicker${detail.id}") #end
#if($value && $value != "") #set( $foundrow = $mediaarchive.getAsset($value) ) #if($foundrow) #ifnull($searchhome) $context.putPageValue("searchhome", "$apphome/components/results") #end $context.putPageValue("componenthome", "$apphome/components") ##Legacy
$pages.include("$apphome/components/xml/types/assetpicker/preview.html?assetid=$value", $context)
#end #end #ifnull($foundrow) No asset selected #end
#if($uploadenabled) [[Upload]] #end #ifnull($pickerurl) #set($pickerurl = "${siteroot}${finderhome}/views/modules/asset/editors/pickerpickasset/index.html") #end #if($browseenabled) [[Browse]] #end #if($module && $entity) #if($mediaarchive.isCatalogSettingTrue("ai_create_image_enabled") && $permissions.canEntity($module, $entity, "createassetswithai")) [[Use AI]] #end #end