Welcome Guest Search | Active Topics | Members

Problem when using rotation arrows in Image Uploader v3 Options
paul
Posted: Friday, January 07, 2005 7:03:00 AM
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

Fedor
Posted: Friday, January 07, 2005 9:00:00 PM

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
paul
Posted: Tuesday, January 11, 2005 7:45:00 AM
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
Fedor
Posted: Tuesday, January 11, 2005 7:59:00 AM

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
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.