this.map.put("global.policy", fup);
} else if (policy != null && policy.equals("original-image")) {
OriginalImageUploadPolicy oiup = new OriginalImageUploadPolicy(this);
this.map.put("global.policy", oiup);
} else /* in all other cases we will user image upload policy */ {
ImageUploadPolicy iup = new ImageUploadPolicy(this);
this.map.put("global.policy", iup);
putImagePolicyRelatedParamsToConfig(applet);
}
/*
//REMOVED FROM V2 - please use original image upload