Aurigma Forums
»
Upload Suite
»
FAQ – ActiveX/Java Uploader
»
HOWTO: Uploading original image and thumbnails in different requests
Rank: Newbie
Groups: Member
Joined: 4/16/2009(UTC) Posts: 2
|
Is there any way where in using Aurigma Image Uploader, i can upload original image and thumbnails in differnet requests. Let me put it this way : I have a requirement that when user clicks "send" to upload file, original file should be uploaded to one server say A, Thumbnail1 should go to another server say B and Thumbnail2 should go to another server say C. as per default behaviour original image and associated thumbnails all go in one single request, can i have them go in different requests to different locations. Thanks in advance, Pinal Bhatt Edited by user Thursday, April 16, 2009 7:28:20 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 Pinal, Unfortunately Image Uploader cannot send original image and thumbnails in different requests. All you can do is to try the following workaround: - Users select files for upload.
- Then they click "Send" button defined in HTML on your site.
- After that you prepare the first request using Image Uploader scripting API : specify URL in ImageUploader.Action Property, set original file for upload. Then you call ImageUploader.Send Method and Image Uploader uploads the first request.
- Then you prepare settings for the first thumbnail: specify URL again, disable uploading of original file and set the first thumbnail for upload. After you complete you call Send method again.
- And so on...
Also you should set ImageUploader.UncheckUploadedFiles Property to false before the first call to Send method and set this method to true before the last call to Send method. It will allow you to upload the same files several times. Hope I was clear and it will help you. If you have any questions, feel free to post them here. |
|
 1 user thanked Dmitry for this useful post.
|
|
|
Aurigma Forums
»
Upload Suite
»
FAQ – ActiveX/Java Uploader
»
HOWTO: Uploading original image and thumbnails in different requests
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.