|
|
Rank: Member Groups: Member
Joined: 12/17/2003 Posts: 13 Points: 0
|
Hi Andrew, Hi Fedor,
my version : CodeBase="../ImageUploader3.cab#version=3,0,825,0"
some of my customers reported me that when they user the rotation feature on the thumbnails, the uploaded thumbnails are well rotated but the original files are still in the wrong position.
I've made a try and they are right.
Anyone knoes anything about this issue ? Thanks
Paul
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
Hello Paul! Original file is always uploaded unchanged, as rotation will cause its JPEG recompression. We implemented it such way as source file can be changed noticeably after applying rotation. For example if we upload file with other then JPEG format (PNG, TIFF, and so on), we have to convert it to JPEG. On other side JPEG file after rotation has worse quality and doesn't preserve EXIF metadata (but upcoming Image Uploader 3.5 will resolve this issues). To resolve this problem you can either rotate image on server side or try to upload not source file, but its thumbnail with FitMode=ActualSize. In following sample first thumbnail will have size of original image with applied rotation: Code: <param name="UploadSourceFile" value="False"> <param name="EnableRotate" value="True">
<param name="UploadThumbnail1FitMode" value="ActualSize"> <param name="UploadThumbnail1JpegQuality" value="70">
<param name="UploadThumbnail2FitMode" value="fit"> <param name="UploadThumbnail2Width" value="100"> <param name="UploadThumbnail2Height" value="100"> <param name="UploadThumbnail2JpegQuality" value="65">
======================================================== 02/14/2008, Fedor This topic is out of date.
First of all you should use iuembed.js syntax now. Also EnableRotate property was rename to AllowRotate one.Code:
iu.addParam("UploadSourceFile", "False");
iu.addParam("AllowRotate", "True");
iu.addParam("UploadThumbnail1FitMode", "ActualSize");
iu.addParam("UploadThumbnail1JpegQuality", "70");
iu.addParam("UploadThumbnail2FitMode", "fit");
iu.addParam("UploadThumbnail2Width", "100");
iu.addParam("UploadThumbnail2Height", "100");
iu.addParam("UploadThumbnail2JpegQuality", "65");
========================================================
Best regards, Fedor Skvortsov
|
|
Rank: Member Groups: Member
Joined: 12/17/2003 Posts: 13 Points: 0
|
Fedor,
I have a way to rotate original image on server side, after uploading. But if I give the following argument to Image Uploader :
to force the transfert of the original image, some of the thumbnails are rotated WHILE the orginal files are NOT !
I would like a method that allow the user to copy their original images (including thumbnails) exactlys as they are, with no rotation at all.
Thanks paul
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
Paul, can you submit case with image, for which you receive rotated thumbnail? It is possible, that problem is in incorrect embedded EXIF thumbnail.
Best regards, Fedor Skvortsov
|
|
|
Guest |