#set($userid = $context.getRequestParameter("id")) #if(!$userid) #set($userid = $context.getUserName()) #end #set($asset = $mediaarchive.getAssetBySourcePath("profiles/${userid}/profilepic")) #if(!$asset) #set($profile = $mediaarchive.getUser($userid)) #if($profile.profilepicture) #set($asset = $mediaarchive.getAsset($profile.profilepicture)) #end #end #if($asset) $owner #else $owner #end