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

Notification

Icon
Error

Options
Go to last post Go to first unread
shaun_mcquaker  
#1 Posted : Wednesday, June 13, 2007 10:28:56 PM(UTC)
shaun_mcquaker

Rank: Member

Groups: Member
Joined: 6/12/2007(UTC)
Posts: 28

The settings given in your online documentation for uploading mixed content does not work as expected in the following manner; thumbnails are successfully created for video files, thus the creation of the thumbnail does not fail and the source file is not uploaded. Thus disabling the upload source functionality does not work. I am using Windows XP SP2, and this does not work for both the Java and ActiveX versions. I believe this needs to be addressed in one of two ways, either thumbnails fail for anything but an image or there is an option for each upload item to upload the source or not. Are there any plans to implement this or perhaps a way to upload mixed content (video, audio and image) correctly? Thanks.
George Ulyanov  
#2 Posted : Thursday, June 14, 2007 11:34:29 AM(UTC)
George Ulyanov

Rank: Advanced Member

Groups: Member
Joined: 7/26/2006(UTC)
Posts: 203

Please post the entire code of page with Image Uploader.

Edited by user Friday, February 22, 2008 5:07:09 PM(UTC)  | Reason: Not specified

Best regards,
George Ulyanov
shaun_mcquaker  
#3 Posted : Thursday, June 14, 2007 10:28:39 PM(UTC)
shaun_mcquaker

Rank: Member

Groups: Member
Joined: 6/12/2007(UTC)
Posts: 28

Code:
<script type="text/javascript">
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 750, 350);

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "../includes/ImageUploader4.cab";
iu.activeXControlVersion = "4,1,60,0";

//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletCodeBase = "../includes/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "2.1.60.0";

iu.showNonemptyResponse = "off";

//Configure appearance.
iu.addParam("PaneLayout", "ThreePanes");
iu.addParam("FolderView", "Thumbnails");

iu.addParam("BackgroundColor", "#eff1f9");
iu.addParam("ShowUploadListButtons", "true");
iu.addParam("ButtonRemoveFromUploadListText", "");
iu.addParam("ButtonRemoveAllFromUploadListText", "Remove All");

iu.addParam("ShowDescriptions", "false");
iu.addParam("EnableRotate", "true");
iu.addParam("ShowButtons", "false");

//Hide standard upload pane.
iu.addParam("FolderPaneHeight", "-1");

//iu.addParam("UploadSourceFile", "false");

//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Width");
iu.addParam("UploadThumbnail1Width", "550");
iu.addParam("UploadThumbnail1JpegQuality", "75");
iu.addParam("UploadThumbnail1CopyExif", "false");
iu.addParam("UploadThumbnail1ResizeQuality", "High");
iu.addParam("UploadThumbnail1FallbackMode", "SourceFile");

iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("AutoRecoverMaxTriesCount", "2");

//Configure URL files are uploaded to.
iu.addParam("Action", "iu_upload.pl");

//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "images.pl");

//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")
iu.fullPageLoadListenerName = "fullPageLoad";

// File Restrictions
iu.addParam("FileMask", "*.*");

//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
</script>

Edited by user Friday, February 22, 2008 5:07:27 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Friday, June 15, 2007 8:18:37 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

The feature of uploading source files instead of system icons is implemented starting from the version 4.5. It looks like you are still using the version 4.1. Please check if I am wrong.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
shaun_mcquaker  
#5 Posted : Sunday, June 17, 2007 11:30:07 PM(UTC)
shaun_mcquaker

Rank: Member

Groups: Member
Joined: 6/12/2007(UTC)
Posts: 28

I was not using version 4.5. It solved the problem. Thanks!
Users browsing this topic
Similar Topics
Uploading Non-Image Files (Image Uploader)
by qchen 11/13/2007 5:47:29 PM(UTC)
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.