I am *STILL* having issues with Mac User uploads sending 16px X 16px icons to the server. I installed the 5.1.x.x cab/jar/js files in early April and the file dates are 3/31/2008 and I've confirmed my settings/params match the demo version and I'm still seeing these icons on the server instead of the photos.
Any ideas? Is something still wrong with 5.1.x.x? Am I doing something wrong? Did I not correctly make the 5.0.x.x to 5.1.x.x switch???
Thanks...
-Aaron
HERE'S MY CODE...
(As mentioned, ImageUploader5.cab, ImageUploader5.jar, and iuembed.js are all dated 3/31/2008 and located in the same folder as my code.)
<script type="text/javascript" src="iuembed.js"></script>
<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 1050, 600);
// If you do not want to use ActiveX or Java version, set the appropriate property to false.
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;
//ActiveX Settings...
iu.activeXControlCodeBase = "ImageUploader5.cab";
iu.activeXControlVersion = "5,1,10,0";
//Java Settings...
iu.javaAppletJarFileName = "ImageUploader5.jar";
iu.javaAppletCodeBase="./";
iu.javaAppletCached = true;
iu.javaAppletVersion = "5.1.10.0";
iu.showNonemptyResponse = "off";
iu.addParam("LicenseKey", "MY LICENSE KEYS");
iu.addParam("MaxFileCount", "20");
//iu.addParam("MaxFileSize", "2097150");
//iu.addParam("MaxTotalFileSize", "10485760");
//Configure appearance.
iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("ShowDebugWindow", "false");
iu.addParam("BackgroundColor", "#ccccff");
iu.addParam("AllowRotate", "true");
iu.addParam("EnableAutoRotate", "false");
//Set image size restrictions.
//iu.addParam("MinImageWidth", "1200");
//iu.addParam("MinImageHeight", "1200");
//Exclude the source file from upload because only resized versions of the photo will be sent.
iu.addParam("UploadSourceFile", "false");
//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "1200");
iu.addParam("UploadThumbnail1Height", "1200");
iu.addParam("UploadThumbnail1JpegQuality", "60");
//iu.addParam("UploadThumbnail1CopyExif", "true");
//Configure thumbnail settings.
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "400");
iu.addParam("UploadThumbnail2Height", "800");
iu.addParam("UploadThumbnail2JpegQuality", "50");
//Configure thumbnail settings.
iu.addParam("UploadThumbnail3FitMode", "Fit");
iu.addParam("UploadThumbnail3Width", "180");
iu.addParam("UploadThumbnail3Height", "360");
iu.addParam("UploadThumbnail3JpegQuality", "50");
iu.addParam("FileMask", "*.raw;*.jpg;*.jpeg;*.jpe;*.jfif;*.bmp;*.dib;*.rle;*.tif;*.tiff;*.png;");
//Configure URL files are uploaded to.
<asp:Literal runat="server" ID="ActionLiteral"></asp:Literal>
//Configure URL where to redirect after upload.
<asp:Literal runat="server" ID="RedirectUrlLiteral"></asp:Literal>
//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
//]]>
</script>
Edited by user Thursday, May 15, 2008 7:06:58 AM(UTC)
| Reason: Not specified