Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Can I send image information back to server after uploading image to S3?
Rank: Member
Groups: Member
Joined: 10/16/2009(UTC) Posts: 23
Thanks: 4 times
|
Hello, I'm using ASP.NET with the image uploader. I notice after I upload image to S3, there is no event fired in server side. My question is how I can get the image imformation after it is uploaded to S3? Thanks Lei
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello Lei, As far as I understand the question is how to trigger some event on server side where you host a page containing Image Uploader after it finishes uploading to AWS. Image Uploader is a client component, so almost all events are fired on the client side and can be handled in JavaScript (the additional information you can find in the Handling Upload Completion topic). You need to specify a client event handler, for example, AfterUpload event handler and do whatever you need there: trigger post back to a server, initialize AJAX request to a server and so on. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/16/2009(UTC) Posts: 23
Thanks: 4 times
|
Hello Dmitry Thank your very much for your information. Now I know the work process of the image uploader. Another question is how I can get the information of the resized image such as length, width, height, etc? Thanks Lei
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
|
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/16/2009(UTC) Posts: 23
Thanks: 4 times
|
Thanks again Dmitry More questions. Can I change the file name of image when I upload it to s3? I want to avoid it overwritte the existing file with same name. And how can I get the file size of thumbnail image? I found a property getUploadFileSize(Index). But not found same property of thumbnail image. Thanks Lei Edited by user Monday, October 19, 2009 4:18:40 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello Lei, If you specify a key in the following way: Code:as3.getSourceFile().setKey("${filename}");
AWS will store files by names they come with. File size of generated thumbnail - unfortunately you cannot know it on the client side because Image Uploader creates thumbnails asynchronously and there is no way to calculate this size in advance. |
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
Can I send image information back to server after uploading image to S3?
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.