Rank: Member
Groups: Member
Joined: 4/4/2008(UTC) Posts: 11
|
I just purchased the Java version of this software today, and so far, the implementation has gone well. One issue I have, is that even with AllowAutoRotate on, not all images which show as rotated in the drag-n-drop area, actually end up rotated as a file on the server. Here are my settings: Code://Configure appearance and behaviour.
iu.addParam("PaneLayout", "ThreePanes");
iu.addParam("ShowDebugWindow", "true");
iu.addParam("ShowDescriptions", "false");
iu.addParam("BackgroundColor", "#ffffff");
//Configure Image Uploader to rotate photos automatically
//according to the orientation stored in EXIF metadata.
iu.addParam("AllowAutoRotate", "true");
//Append the form with total file size to the upload.
iu.addParam("AdditionalFormName", "Form1");
//Configure file mask to upload JPEG images only.
iu.addParam("FileMask", "*.jpeg;*.jpg;*.jpe");
//Set image size restrictions.
iu.addParam("MinImageWidth", "360");
iu.addParam("MinImageHeight", "360");
//Exclude the source file from upload because only
//resized versions of the photo will be sent.
iu.addParam("UploadSourceFile", "false");
//Configure settings of the optimized image. Optimized image
//is resized to 1200x1200 with JPEG quality = 60 and EXIF
//metadata is preserved.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "800");
iu.addParam("UploadThumbnail1Height", "800");
iu.addParam("UploadThumbnail1JpegQuality", "80");
iu.addParam("UploadThumbnail1CopyExif", "true");
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "640");
iu.addParam("UploadThumbnail2Height", "640");
iu.addParam("UploadThumbnail2JpegQuality", "80");
//Configure thumbnail settings.
iu.addParam("UploadThumbnail3FitMode", "Fit");
iu.addParam("UploadThumbnail3Width", "150");
iu.addParam("UploadThumbnail3Height", "150");
iu.addParam("UploadThumbnail3JpegQuality", "60");
//Configure URL files are uploaded to.
iu.addParam("Action", "http://www.zoomphoto.ca/upload.php");
//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("Progress", "ImageUploader_Progress");
Some images do rotate as a file on the server, others do not... files are from the same camera, and both have complete EXIF. Both show as rotated properly in the Java window... Please help! Thanks, Joe Edited by user Thursday, May 22, 2008 2:01:37 PM(UTC)
| Reason: Not specified
|