Rank: Member Groups: Member
Joined: 6/23/2006 Posts: 1 Points: 0
|
Hello,
The uploader is working great except I cannot get it to upload the images after I have rotated them. It uploads the image as if I did not rotate it. Any ideas on why this is?
jfill
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
Image Uploader always sends the source file unchanged. It rotates, resizes, and optimizes the thumbnails only. So you should use the following code to upload the rotated source images: Code:
iu.addParam("UploadSourceFile", "false");
iu.addParam("EnableRotate", "false");
iu.addParam("UploadThumbnail1FitMode", "ActualSize");
iu.addParam("UploadThumbnail1JpegQuality", "80");
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "640");
iu.addParam("UploadThumbnail2Height", "480");
iu.addParam("UploadThumbnail2JpegQuality", "65");
So way the source images will be uploaded as Thumbnail1_ N fields.
Best regards, Fedor Skvortsov
|