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

Notification

Icon
Error

Options
Go to last post Go to first unread
paul  
#1 Posted : Thursday, January 06, 2005 11:03:00 PM(UTC)
paul

Rank: Member

Groups: Member
Joined: 12/16/2003(UTC)
Posts: 13

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  
#2 Posted : Friday, January 07, 2005 1:00:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,508

Thanks: 3 times
Was thanked: 49 time(s) in 48 post(s)
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");
========================================================

Edited by user Wednesday, October 29, 2008 3:00:31 PM(UTC)  | Reason: Not specified

Best regards, Fedor Skvortsov
paul  
#3 Posted : Monday, January 10, 2005 11:45:00 PM(UTC)
paul

Rank: Member

Groups: Member
Joined: 12/16/2003(UTC)
Posts: 13

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  
#4 Posted : Monday, January 10, 2005 11:59:00 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,508

Thanks: 3 times
Was thanked: 49 time(s) in 48 post(s)
Paul, can you submit case with image, for which you receive rotated thumbnail? It is possible, that problem is in incorrect embedded EXIF thumbnail.

Edited by user Friday, May 23, 2008 3:42:12 PM(UTC)  | Reason: Not specified

Best regards, Fedor Skvortsov
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.