Welcome Guest Search | Active Topics | Members

Image Rotation Options
jfill
Posted: Friday, June 23, 2006 11:37:48 AM
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
Fedor
Posted: Friday, June 23, 2006 11:50:20 PM

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
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.