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

Notification

Icon
Error

Options
Go to last post Go to first unread
Rcraill  
#1 Posted : Monday, June 20, 2016 11:48:28 AM(UTC)
Rcraill

Rank: Newbie

Groups: Member
Joined: 6/8/2012(UTC)
Posts: 3

Using Asp
<cc1:ImageUploaderFlash ID="Uploader1" runat="server"
LicenseKey="XXXX" EnableDescriptionEditor="false"
EnableAutoRotation="true" Width="600" Height="500px" Type="flash">
<Converters>
<cc1:Converter Mode="*.*=Thumbnail" ThumbnailWidth="1024" ThumbnailFitMode="Width" ThumbnailJpegQuality="100" />
</Converters>
<UploadPane ViewMode="Thumbnails"></UploadPane>
<TopPane ShowViewComboBox="False" TitleText="Pictures for upload" />
<UploadSettings RedirectUrl="PicUpdloadSuc.wcsx" />
</cc1:ImageUploaderFlash>

Changing the ThumbnailJpegQuality does not change the size of the uploaded file.
The width does change but not the file size.
I would like to change the resolution/ DPI for each image.
Any help would be appreciated
Andrew  
#2 Posted : Monday, June 20, 2016 8:20:45 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 870

Thanks: 2 times
Was thanked: 26 time(s) in 26 post(s)
Hello,

Flash uploader does not support changing JPEG quality. This feature is implemented only in HTML5 uploader. Is there a particular reason to prefer Flash uploader? At this moment, Flash uploader is supposed to be a fallback option for ancient browsers like IE9 and older.

As for changing thumbnail DPI field, it is not available neither in Flash nor in HTML5 uploader, but we will add it to some of future updates of HTML5.
Rcraill  
#3 Posted : Tuesday, June 21, 2016 12:02:40 AM(UTC)
Rcraill

Rank: Newbie

Groups: Member
Joined: 6/8/2012(UTC)
Posts: 3

Hi
I thought I was using the Html5 Uploader based on the "type" property which I set to "html".
Should I rather use the js file and create the uploader on the fly.
Reading the documentation it would seem that the html5 uploader will either be html5 or flash based on browser.
I have changed to <!DOCTYPE html>
I re uploaded 2 files one quality=100 and one quality set to 50. Both are the same size
The issue we are having is that the sizes do not change based on jpg quality. All are the same size. I am not worried about resolution but rather file size.
Thanks for the previous answer
Andrew  
#4 Posted : Tuesday, June 21, 2016 1:23:23 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 870

Thanks: 2 times
Was thanked: 26 time(s) in 26 post(s)
In your code snippet the Type is set to 'flash'. Please double check it.

What version you are using? Is it the latest one? Also, is the image width you are trying to upload is larger than 1024?
Rcraill  
#5 Posted : Tuesday, June 21, 2016 1:34:49 AM(UTC)
Rcraill

Rank: Newbie

Groups: Member
Joined: 6/8/2012(UTC)
Posts: 3

HI
Upload Suite 8.0.54
2 Files I am trying
First one
<cc1:ImageUploaderFlash ID="Uploader1" runat="server"
LicenseKey="XXXXX" EnableDescriptionEditor="false"
EnableAutoRotation="true" Width="600" Height="500px"
DebugScriptMode="Popup" Type="html">
<UploadPane ViewMode="Tiles"></UploadPane>
<TopPane ShowViewComboBox="true" TitleText="Pictures for upload" />
<Restrictions FileMask="[['Images (*.jpg; )', '*.jpg']]" />
</cc1:ImageUploaderFlash>

Second one
lcbid = document.getElementById("txtbid").value;
lcown = document.getElementById("txtowner").value;
lcsize = parseInt(document.getElementById("txtsize").value);
lcqual = parseInt(document.getElementById("txtqual").value);
var u = $au.imageUploaderFlash({
id: 'Uploader1',
width: '650px',
height: '480px',
type:"html",
licenseKey: XXXX',
converters: [
{mode: '*.*=Thumbnail', thumbnailFitMode: 'Width', thumbnailWidth: lcsize, thumbnailJpegQuality: lcqual}
],
restrictions: {
FileMask: ['Images (*.jpg; )', '*.jpg']
},
uploadSettings: {
actionUrl: SaveBigPic.cao?&bid='+lcbid+'&owner='+lcown,
redirectUrl: 'picupdSuc.aspx'
}
});

Both upload the same file size no matter what I set the quality to.
We have different portals that require different widths so we want to upload the smallest file size for the width requested

Edited by user Tuesday, June 21, 2016 2:59:22 AM(UTC)  | Reason: Not specified

Andrew  
#6 Posted : Wednesday, June 22, 2016 3:00:03 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 870

Thanks: 2 times
Was thanked: 26 time(s) in 26 post(s)
Hi Robert,

The version 8.0.54 is very old. It was released back in Nov 2013! The JPEG quality feature was added way later.

Try to update to the latest one (8.5.55 - http://www.aurigma.com/downloads/upload-suite). Here you can find a list of other changes we have added since 8.0.54:

http://www.aurigma.com/docs/us8/whats-new.htm

Edited by user Wednesday, June 22, 2016 3:00:50 AM(UTC)  | Reason: Not specified

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.