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

Notification

Icon
Error

Options
Go to last post Go to first unread
sauligno  
#1 Posted : Monday, June 21, 2004 7:37:00 PM(UTC)
sauligno

Rank: Member

Groups: Member
Joined: 6/21/2004(UTC)
Posts: 1

Hello,
we are planning to use ImageUplaoder. We would like to know if there's a way to limit image-size (through resolution or compression) prior to upload.

:-O We would add some scripts to determine different file - size for each images before upload.

thank you for your consideration
saul from italy
Fedor  
#2 Posted : Monday, June 21, 2004 8:31:00 PM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
We would like to know if there's a way to limit image-size (through resolution or compression) prior to upload.

You can send resized image instead of source file. To do you need to send additional large thumbnail. You can do it via following parameters in HTML:

Code:
<param name="UploadSourceFile" value="False">

<param name="UploadThumbnail1FitMode" value="fit">
<param name="UploadThumbnail1Width" value="640">
<param name="UploadThumbnail1Height" value="640">
<param name="UploadThumbnail1JpegQuality" value="75">

<param name="UploadThumbnail1FitMode" value="fit">
<param name="UploadThumbnail1Width" value="120">
<param name="UploadThumbnail1Height" value="120">
<param name="UploadThumbnail1JpegQuality" value="75">


In Image Uploader 3.0 (View post) we plan to add also restriction for uploading image larger then predefined dimension the same as we have now for maximum file size.

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

You should use iuembed.js syntax now:


Code:
iu.addParam("UploadSourceFile", "False");

iu.addParam("UploadThumbnail1FitMode", "fit");
iu.addParam("UploadThumbnail1Width", "640");
iu.addParam("UploadThumbnail1Height", "640");
iu.addParam("UploadThumbnail1JpegQuality", "75");

iu.addParam("UploadThumbnail1FitMode", "fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "75");


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

Edited by user Wednesday, October 29, 2008 2:04:06 PM(UTC)  | Reason: Not specified

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.