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

Notification

Icon
Error

Options
Go to last post Go to first unread
atodesign  
#1 Posted : Tuesday, June 29, 2004 7:55:00 PM(UTC)
atodesign

Rank: Member

Groups: Member
Joined: 6/29/2004(UTC)
Posts: 5

Hi. In Aurigma Image Uploader 2.5 is "SourceImageFitMode" parameter still supported? I need to resize the Upload Source File. Thanks
Fedor  
#2 Posted : Tuesday, June 29, 2004 8:01:00 PM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 59 time(s) in 58 post(s)
It isn't supported, but you can get the same behaviour sending resized source image as 2nd thumbnail:

Code:
<object id="ImageUploader" name="ImageUploader" width="750" height="500" 
	classid="clsid:FD18DD5E-B398-452A-B22A-B54636BA9F0D" VIEWASTEXT>
	<param name="Action" value="Upload.aspx">
	<param name="Layout" value="TwoPanes">

<!-- ...other params... -->

	<param name="UploadSourceFile" value="False">
	<param name="EnableRotate" value="False">

	<param name="UploadThumbnail1FitMode" value="fit">
	<param name="UploadThumbnail1Width" value="100">
	<param name="UploadThumbnail1Height" value="100">
	<param name="UploadThumbnail1JpegQuality" value="40">

	<param name="UploadThumbnail2FitMode" value="fit">
	<param name="UploadThumbnail2Width" value="640">
	<param name="UploadThumbnail2Height" value="480">
	<param name="UploadThumbnail2JpegQuality" value="65">

<!-- ... -->

</object>



See here for more info.


========================================================
02/14/2008, Fedor
This topic is out of date.

You should use iuembed.js syntax now. Also Layout property was renamed to PaneLayout and EnableRotate one to AllowRotate.


Code:
iu.addParam("Action", "Upload.aspx");
iu.addParam("PaneLayout", "TwoPanes");

//...other params..

iu.addParam("UploadSourceFile", "False");
iu.addParam("AllowRotate", "False");

iu.addParam("UploadThumbnail1FitMode", "fit");
iu.addParam("UploadThumbnail1Width", "100");
iu.addParam("UploadThumbnail1Height", "100");
iu.addParam("UploadThumbnail1JpegQuality", "40");

iu.addParam("UploadThumbnail2FitMode", "fit");
iu.addParam("UploadThumbnail2Width", "640");
iu.addParam("UploadThumbnail2Height", "480");
iu.addParam("UploadThumbnail2JpegQuality", "65");



========================================================



Edited by user Wednesday, October 29, 2008 3:20:04 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.