Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
is there the ability to choose alternate upload image size
Rank: Member
Groups: Member
Joined: 11/20/2007(UTC) Posts: 3
|
Hello there, is there a method that enables the user to choose in image uploader after it has been downloaded on the client computer to upload the original or a reduced size for "faster upload".
I know i can program it in php to do this before the appalet is downloaded to the client, but is there a thing that can be configured in image uploader that enables the end user to select whether they want to upload the original which can be 3 MB or just a 640x480 version for faster upload??? thx Roland
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hello, You can dynamically set whether to upload full size image or optimized thumbnails: Code:<label><input id="chbOptimize" type="checkbox" onclick="chbOptimize_click();">Upload optimized images</label>
<script type="text/javascript">
function chbOptimize_click(){
var iu1 = getImageUploader("ImageUploader1");
if (document.getElementById("chbOptimize").checked){
iu1.setUploadThumbnail1FitMode("Fit");
iu1.setUploadThumbnail1Width("Width");
iu1.setUploadThumbnail1Height("Height");
}
else{
iu1.setUploadThumbnail1FitMode("ActualSize");
}
}
</script>
Please not this code is untested. If you need more detailed sample please let me know. We also plan to include this sample in future releases. Edited by user Monday, February 25, 2008 4:14:10 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
is there the ability to choose alternate upload image size
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.