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

Notification

Icon
Error

Options
Go to last post Go to first unread
alfafado  
#1 Posted : Tuesday, July 6, 2010 4:19:12 AM(UTC)
alfafado

Rank: Member

Groups: Member
Joined: 6/29/2010(UTC)
Posts: 13

I'm trying to get the create date of the uploaded files, with this on the upload page:


iu.addParam("ExtractExif", "");

and this in the sendhelper.js:

function afterUpload(html) {
var u = getImageUploader("ImageUploader1");
u.setExtractExif("ExifDateTime");
value = u.getExtractExif();
alert(value);
}


But I don't understand the documenation; is the 'addParam' supposed to have an empty second parameter? Is the setExtractExif function required when you want to get info?

At best I'm getting an empty alert, can someone tell me what I'm doing wrong please?
Dmitry.Obukhov  
#2 Posted : Tuesday, July 6, 2010 6:27:45 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

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

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

Thanks for your question.

If you want to get some EXIF details from the images selected for uploading, at the beginning you should make Image Uploader to extract EXIF details at the client side using
Code:

iu.addParam("ExtractExif", "ExifDateTime;ExifOrientation;ExifModel");

and send these values along with files. The list of supported values can be found in the EXIF fields topic.
If you leave ExtractExif value empty, it means that Image Uploader does not extract data from EXIF.

Unfortunately it is not available to get EXIF data on the client side. You may get them in the server script, which is responsible for processing requests from Image Uploader.

If you have any question, please let me know.

Edited by user Monday, July 12, 2010 12:10:21 PM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
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.