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

Notification

Icon
Error

Options
Go to last post Go to first unread
Alex.Navarro@filogix.com  
#1 Posted : Friday, March 14, 2014 9:49:05 AM(UTC)
Alex.Navarro@filogix.com

Rank: Member

Groups: Member
Joined: 6/25/2013(UTC)
Posts: 10

I am experiencing a weird issue when uploading a large image [3.73MB, 4288x3216] in IE10 using the Active-X upload 8.0.66

I have 3 Thumbnail converters set up, and 2 work fine. The Medium sized thumbnail, however, is always uploaded with 0 size.

I shrunk the image I am uploading to a smaller size [1.2MB, 2144x1608] and all 3 thumbnails uploaded with no issue. There was never an issue with the Java or HTML5 uploaders, even with the larger image size. Just Active-X

I have attached the original image to this post. Any ideas?

Code:


var u = $au.uploader({

     id: 'Uploader',
     width: 950, height: 450,
     licenseKey: 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX',
			
     javaControl: {
          codeBase: '../js/photo_upload/Uploader8.jar', 
          version: '8.0.66' 
     },
			
     activeXControl: {
          codeBase: '../js/photo_upload/Uploader8.cab', 
          version: '8.0.66' 
     },
			
     paneLayout: 'ThreePanes',
    		
     enableRotation: true,
     enableDescriptionEditor: false,
     enableContextMenu: true,
    		
     backgroundColor: "#ffffff",
     borderStyle: "Fixed3D",
    		
     cancelUploadButtonText: "Cancel",
     uploadButtonText: "Upload Images",
    		
     uploadPane: {
          dropFilesHereText: "Drag Property Photos Here."
     },
    		
     folderPane: {
          viewMode: "Thumbnails",
          height: 300,
          previewSize: 107
     },
    		
     messages: {
          fileSizeTooSmall: "File is too small.",
          maxFileSizeExceeded: "File is too large.",
          dimensionsTooSmall: "Image is too small.",
          maxFileSizeExceeded: "Image is too large.",
          uploadCompleted: ""
     },
    		
     uploadProgressDialog: {
          titleText: "Uploading Images"
     },
    		
     restrictions: {
          fileMask: "*.jpg;*.jpeg;*.jpe",
          maxFileSize: 20000000,
          maxImageHeight: 100000,
          maxImageWidth: 100000,
          minImageHeight: 200,
          minImageWidth: 320,
          maxFileCount: sPhotoCount
     },
    		
     converters: [
          { 
               mode: "*.*=Thumbnail",
               thumbnailFitMode: "Width",
               thumbnailWidth: 640,
               thumbnailJpegQuality: 90,
               thumbnailCompressOversizedOnly: true
          },
          { 
               mode: "*.*=Thumbnail",
               thumbnailFitMode: "Width",
               thumbnailWidth: 320,
               thumbnailJpegQuality: 90,
               thumbnailCompressOversizedOnly: true
          },
          { 
               mode: "*.*=Thumbnail",
               thumbnailFitMode: "Width",
               thumbnailWidth: 107,
               thumbnailJpegQuality: 90,
               thumbnailCompressOversizedOnly: true
          }
     ],
    		
     uploadSettings: {actionUrl: uploadhref},
    		
     metadata: {
          additionalFormName: "frmPhotoUpload"
     },
    		
     events: {
          afterUpload: [ImageUploader_AfterUpload]
     }
    		
})
		
u.writeHtml();

File Attachment(s):
full.JPG (3,828kb) downloaded 15 time(s).
Andrew  
#2 Posted : Tuesday, March 18, 2014 3:27:34 AM(UTC)
Andrew

Rank: Advanced Member

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

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
I suspect when you try to extract 320px thumbnail, it extracts it from EXIF rather than resize the original image. It looks like it does not do it correctly for this particular image.

I have reported this problem to our developers, meanwhile you can try to set width to 321 or 319 (hopefully it is acceptable).

Alex.Navarro@filogix.com  
#3 Posted : Tuesday, March 18, 2014 10:35:58 AM(UTC)
Alex.Navarro@filogix.com

Rank: Member

Groups: Member
Joined: 6/25/2013(UTC)
Posts: 10

That worked. switching the converter to 321 worked. Thanks!

Can you please explain to me [so I can explain to other people] why it tries to extract from the EXIF at 320, but not at 321? Is there anything I can do to force it to re-size the original?

Alex.Navarro@filogix.com  
#4 Posted : Thursday, April 24, 2014 6:03:36 AM(UTC)
Alex.Navarro@filogix.com

Rank: Member

Groups: Member
Joined: 6/25/2013(UTC)
Posts: 10

Has there been any more investigation on this issue?
Andrew  
#5 Posted : Thursday, April 24, 2014 7:18:00 PM(UTC)
Andrew

Rank: Advanced Member

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

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Alex,

We have fixed this issue in the upcoming update. Hopefully it is available by the beginning of the next week (if all tests are passed successfully).

Andrew  
#6 Posted : Wednesday, June 4, 2014 6:59:56 AM(UTC)
Andrew

Rank: Advanced Member

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

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Upload Suite 8.0.96 should fix this issue.
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.