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



Go to last post Go to first unread
#1 Posted : Tuesday, March 13, 2012 10:37:56 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 5/20/2008(UTC)
Posts: 1

I had the code for this in an older version of the uploader. I am now using version 7 (pro).

I don't want to upload the original image as it is usually too large. I want to upload two thumbnails. One of them a max size of 120 x 120, and the other a max size of 800 x 800.

What do I need to add to the following code (essentially the same as the example you provided) to make the 2nd thumbnail?


											<script type="text/javascript">
												// <![CDATA[
												var uploader = $au.uploader({
													id: 'Uploader1',
													width: '100%',
													height: '800px',
													licenseKey: '76FF1-041D2-0A700-00058-8EEB4-56BAC2',
													enableDescriptionEditor: true,
													enableRotation: true,
													enableImageEditor: false,
													activeXControl: {
														codeBase: '../Scripts/ImageUploader7.cab',
														codeBase64: '../Scripts/ImageUploader7_x64.cab'
													javaControl: {
														codeBase: '../Scripts/ImageUploader7.jar'
													uploadSettings: {
														actionUrl: 'upload.cfm',
														redirectUrl: 'gallery.cfm',
														filesPerPackage: 1       
													converters: [
														{ mode: '*.*=SourceFile' },
														{ mode: '*.*=Thumbnail;*.*=Icon', 
														thumbnailFitMode: 'Fit', 
														thumbnailWidth: '120', 
														thumbnailHeight: '120'
													folderPane: {
														height: 370
													uploadPane: {
														viewMode: 'List'
													 descriptionEditor: {},
													restrictions: {
														fileMask: '*.jpg;*.jpeg;*.png;*.gif;'

												var ip = $au.installationProgress(uploader);


#2 Posted : Tuesday, March 13, 2012 7:06:06 PM(UTC)

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Linda,

Thanks for your question.

To upload two resized images (120x120 and 800x800) you should set the following converter settings:
converters: [
  { mode: '*.*=Thumbnail', 
    thumbnailFitMode: 'Fit', 
    thumbnailWidth: '800', 
    thumbnailHeight: '800'
  { mode: '*.*=Thumbnail', 
    thumbnailFitMode: 'Fit', 
    thumbnailWidth: '120', 
    thumbnailHeight: '120'

If you have any additional question, please let me know.

Edited by user Tuesday, March 13, 2012 7:06:50 PM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Similar Topics
Trying to create multiple thumbnails. (Discussions – ActiveX/Java Uploader)
by rjfmjanssen 11/13/2010 11:16:27 AM(UTC)
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.