#set($uploadtype = $context.getRequestParameter("uploadtype")) #set($originalpath = $mediaarchive.asLinkToOriginal($newasset)) #else #end