#465: fixed previews generation for quickupload portlet