Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Sunday, November 2, 2008 5:20:26 PM(UTC)

Rank: Member

Groups: Member
Joined: 3/20/2007(UTC)
Posts: 21

Hi all,
I don't want to enable auto rotation and therefore I have iu.addParam("AllowAutoRotate", "false"); in configuration. It's also default behaviour.

But it doesn't work:
- I have photo with domension 1944 x 2592 and EXIF orientation is "left bottom"
- I see this photo in ImageUploader component "left bottom" oriented and not in original orientation
- thumbnails aren't created and posted to the server in this case

Here is my configuration:
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;
iu.activeXControlVersion = "4,7,16,0";
iu.javaAppletVersion = "";
iu.javaAppletCached = true;
iu.activeXControlCodeBase = "includes/ImageUploader4.cab";

//component configuration
iu.addParam("Action", "addDocument.htm"); //must be
iu.addParam("AutoRecoverTimeOut", "3000");
iu.addParam("AllowAutoRotate", "false");
iu.addParam("AllowRotate", "true");
iu.addParam("ShowDescriptions", "false");
iu.addParam("MaxFileCount", "20");
iu.addParam("MaxFileSize", "51200000"); //=50MB
iu.addParam("MaxTotalFileSize", "102400000"); //=100MB
iu.addParam("ExtractExif", "ExifDateTime;ExifDateTimeOriginal;");
iu.addParam("FolderPaneSortMode", "Name");

//component apperiance
iu.addParam("BackgroundColor", "#e8d5c4");
iu.addParam("TreePaneWidth", "210");
iu.addParam("FolderPaneHeight", "200");
iu.addParam("PreviewThumbnailSize", "70"); //96 default
iu.addParam("AutoRecoverMaxTriesCount", "1");

jps26401 attached the following image(s):
#2 Posted : Tuesday, November 4, 2008 4:56:34 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)

ImageUploader.AllowAutoRotate Property enables automatic EXIF-based photo rotation. It means that uploader extracts special tag from EXIF showing orientation of the camera when photo was made. And then it rotates image automatically according to this value.

Your photo was made rotated, so if you disable AllowAutoRotate, you see this photo rotated. It works as expected.

Edited by user Tuesday, November 4, 2008 4:59:15 PM(UTC)  | Reason: Not specified

Dmitry attached the following image(s):
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.