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

Notification

Icon
Error

Options
Go to last post Go to first unread
davonc  
#1 Posted : Saturday, February 14, 2009 5:20:51 AM(UTC)
davonc

Rank: Member

Groups: Member
Joined: 11/21/2006(UTC)
Posts: 1

I want users to be able to upload animated gifs onto their site. This requires me to set the UploadSourceFile to true.

But for JPG files, I do not want to upload the source file. The JPG files are usually too large.

How do I upload GIFs as source files and JPGs as thumbnails.

Thanks,

Davon

Tamila  
#2 Posted : Sunday, February 15, 2009 1:33:58 PM(UTC)
Tamila

Rank: Advanced Member

Groups:
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello,

Quote:
How do I upload GIFs as source files and JPGs as thumbnails.

You can do it using CompressionMode property as follows:

Code:
iu.addParam("UploadSourceFile", "false");
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");
iu.addParam("UploadThumbnail1CompressionMode", "*.jpeg,*.jpg = Jpeg;*.gif = SourceFile");

Aurigma Support Team

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.