Rank: Member
Groups: Member
Joined: 11/29/2011(UTC) Posts: 10
Thanks: 2 times
|
Hi! I've run into a problem with the Image Uploader. This only happens for one of my images, so I don't know if this is an error in the image exif data or with the image uploader. Anyway, here goes. The image Exif datetime is: 18-10-2011 10:09:36The exif datetime recieved in my server code is: 19-10-2011 08:00:15Somehow the datetime is extracted incorrectly from the exif data, since in Windows Explorer and Adobe Bridge the data is correct. The image size is 480x640. My script looks like this: Code:
// Initialize image uploader
var iu = $au.uploader({
id: 'auIU',
width: '100%',
height: '600px',
folderPane: {
viewMode: 'Tiles'
},
restrictions: {
fileMask: '*.jpg;*.jpeg;*.png;*.gif;*.bmp'
},
licenseKey: 'XXX-XXX-XXX-XXX',
enableDescriptionEditor: false,
enableAutoRotation: true,
activeXControl: {
codeBase: '/ImageUploader7/ImageUploader7.cab',
codeBase64: '/ImageUploader7/ImageUploader7_x64.cab'
},
javaControl: {
codeBase: '/ImageUploader7/ImageUploader7.jar'
},
uploadSettings: {
actionUrl: 'upload/',
redirectUrl: 'edit/'
},
converters: [
{ mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: '1000', thumbnailHeight: '1000', thumbnailApplyCrop: true },
{ mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: '500', thumbnailHeight: '500', thumbnailApplyCrop: true },
{ mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: '100', thumbnailHeight: '100', thumbnailApplyCrop: true }
],
metadata: {
cookie: 'cookie_data',
exif: 'ExifDateTime'
}
});
//Localize the image uploader
iu.set(da_localization);
//Create installation progress.
var ip = $au.installationProgress(iu);
ip.progressHtml('<p><img src="{0}" /><br />Indlæser billede uploader...</p>');
ip.commonHtml('');
ip.progressImageUrl('/Content/images/loader_bigbar.gif');
ip.progressCssClass('ip-progress');
ip.instructionsCssClass('ip-instructions');
// Add the image uploader html to the page
$('#imageUploader').html(iu.getHtml());
Anyone else got this problem? Maybe a solution?
|