Rank: Member
Groups: Member
Joined: 12/31/2006(UTC) Posts: 3
|
Hi All, I have begun customizing ImageUploader and ran into a couple of problems. 1. Since I migrated to version 4.0 I have been unable to get the ShowStatusPane variable to work. Did something change? What do I have to do to get the status bar back? 2. When I set the ShowDeleteButton variable to false, it still shows the delete files button. It does not matter if I use true/false or 1/0. No change. What do you have to do to get the delete files button to disapear? 1/1/2007 I have fixed the ShowDeleteButton problem. I forgot to remove the text from the ButtonDeleteFilesText variable. I still can't get the status pane to work. Anyone have any thoughts?Here is the code: Code:<script language="javascript">
var iu = new ImageUploaderWriter(uID, 750, 500);
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = false;
//For ActiveX control we specify full path for CAB file
iu.activeXControlCodeBase = "uploaderscripts/ImageUploader4.cab";
iu.activeXControlVersion = "4,1,1,0";
//For Java applet we specify only directory with JAR files
iu.javaAppletCodeBase = "uploaderscripts/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "2.1.1.0";
//iu.addParam("_ExtentX", "15425");
//iu.addParam("_ExtentY", "12541");
//iu.addParam("_StockProps", "0");
//iu.addParam("_Version", "65536");
iu.addParam("Action","admin_html_galleries_uploadprocess.asp?GalID=<%= GalID %>");
iu.addParam("AdditionalFolderNavigator", "");
iu.addParam("AdditionalFormName", "upform");
iu.addParam("AllowMultipleSelection", "true");
iu.addParam("BackgroundColor", "#C1AD78");
iu.addParam("ButtonAddAllToUploadListText", "Add All");
iu.addParam("ButtonAddFilesText", "Add Files...");
iu.addParam("ButtonAddFoldersText", "Add Folders...");
iu.addParam("ButtonAddToUploadListText", "Add");
iu.addParam("ButtonDeleteFilesText", "");
iu.addParam("ButtonDeselectAllText", "Select None");
iu.addParam("ButtonFontName", "");
iu.addParam("ButtonFontSize", "0");
iu.addParam("ButtonRemoveAllFromUploadListText", "Remove All");
iu.addParam("ButtonRemoveFromUploadListText", "Remove");
iu.addParam("ButtonSendText", "Upload Now");
iu.addParam("ButtonSelectAllText", "Select All");
iu.addParam("ButtonStopText", "Stop");
iu.addParam("CheckFilesBySelectAllButton", "true");
iu.addParam("DropFilesHereText", "Drag & Drop file(s) here from above or from another window");
iu.addParam("EnableRotate", "true");
iu.addParam("FileIsTooLargeText", "File is too large");
iu.addParam("FolderPaneHeight", "250");
iu.addParam("FolderView", "Thumbnails");
iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.gif");
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("HoursText", "hours");
iu.addParam("IncludeSubfoldersText", "Include Subfolders");
iu.addParam("KilobytesText", "kilobytes");
iu.addParam("PaneLayout", "ThreePanes");
//iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("LicenseKey","7659-6376-9044-9042,7760-5016-5696-7152");
iu.addParam("ListColumnFileNameText", "Name");
iu.addParam("ListColumnFileSizeText", "Size");
iu.addParam("ListColumnFileTypeText", "Type");
iu.addParam("ListColumnLastModifiedText", "Modified");
iu.addParam("MaxFileCount", "1000");
iu.addParam("MaxFileSize", "0");
iu.addParam("MaxImageWidth", "432");
iu.addParam("MaxImageHeight", "373");
iu.addParam("MaxTotalFileSize", "0");
iu.addParam("MegabytesText", "megabytes");
iu.addParam("MenuAddAllToUploadListText", "Add All to Upload List");
iu.addParam("MenuAddToUploadListText", "Add to Upload List");
iu.addParam("MenuDeselectAllText", "Deselect All");
iu.addParam("MenuDetailsText", "Details");
iu.addParam("MenuIconsText", "Icons");
iu.addParam("MenuInvertSelectionText", "Invert Selection");
iu.addParam("MenuListText", "List");
iu.addParam("MenuRefreshText", "Refresh");
iu.addParam("MenuRemoveAllFromUploadListText", "Remove All from Upload List");
iu.addParam("MenuRemoveFromUploadListText", "Remove from Upload List");
iu.addParam("MenuSelectAllText", "Select All");
iu.addParam("MenuThumbnailsText", "Thumbnails");
iu.addParam("MessageBoxTitleText", "Image Uploader");
iu.addParam("MessageCannotConnectToInternetText", "The attempt to connect to the Internet has failed.");
iu.addParam("MessageNoFilesToSendText", "There are no files to send.");
iu.addParam("MessageNoInternetSessionWasEstablishedText", "No Internet session was established.");
iu.addParam("MessageMaxFileCountExceededText", "The file [Name] cannot be selected. Amount of files exceeds the limit ([Limit] files).");
iu.addParam("MessageMaxFileSizeExceededText", "The file [Name] cannot be selected. This file size exceeds the limit ([Limit] kb).");
iu.addParam("MessageMaxTotalFileSizeExceededText", "The file [Name] cannot be selected. Total upload data size exceeds the limit ([Limit] kb).");
iu.addParam("MessageNoResponseFromServerText", "No response from the server.");
iu.addParam("MessageServerNotFoundText", "The server or proxy [Name] not found.");
iu.addParam("MessageUnexpectedErrorText", "There was a problem uploading one or more of your images. This can happen at peak times, especially with large tiff files. Please decrease the resolution of your image and then attempt to upload it again.");
iu.addParam("MessageUploadCancelledText", "Upload is cancelled.");
iu.addParam("MessageUploadCompleteText", "Upload complete.");
iu.addParam("MessageUploadFailedText", "Upload failed (the connection was interrupted).");
iu.addParam("MinImageWidth", "0");
iu.addParam("MinImageHeight", "0");
iu.addParam("MinutesText", "minutes");
iu.addParam("Padding", "5");
iu.addParam("PaneBackgroundColor", "#ffffff");
iu.addParam("PreviewThumbnailActiveColor", "#930205");
iu.addParam("PreviewThumbnailInactiveColor", "#eeeeee");
iu.addParam("PreviewThumbnailSize", "96");
iu.addParam("ProductVersion", "");
iu.addParam("ProgressDialogCancelButtonText", "Cancel");
iu.addParam("ProgressDialogCloseButtonText", "Close");
iu.addParam("ProgressDialogCloseWhenUploadCompletesText", "Close this dialog box when the upload completes");
iu.addParam("ProgressDialogEstimatedTimeText", "Estimated time: Remaining [Current], Total [Total]");
iu.addParam("ProgressDialogPreparingDataText", "Preparing data...");
iu.addParam("ProgressDialogSentText", "Sent: [Current] of [Total]");
iu.addParam("ProgressDialogTitleText", "Upload Files");
iu.addParam("ProgressDialogWaitingForResponseFromServerText", "Waiting for a response from the server...");
iu.addParam("RedirectUrl", "admin_html_galleries_upload_complete.asp");
iu.addParam("RememberLastVisitedFolder", "True");
iu.addParam("SecondsText", "seconds");
iu.addParam("ShowButtons", "false");
iu.addParam("ShowContextMenu", "true");
iu.addParam("ShowDebugWindow", "false");
iu.addParam("ShowDeleteButton", "false");
iu.addParam("ShowDescriptions", "false");
[color=Red]iu.addParam("ShowStatusPane", "true");[/color]
iu.addParam("ShowSubfolders", "false");
iu.addParam("ShowUploadCompleteMessage", "true");
iu.addParam("ShowUploadListButtons", "true");
iu.addParam("SignatureFilter", "All");
iu.addParam("SilentMode", "true");
iu.addParam("StatusFilesInFolderText", "[Current] / [Total]");
iu.addParam("StatusSelectedFilesText", "Selected: [Current]");
iu.addParam("TimeOut", "0");
iu.addParam("TreePaneWidth", "190");
iu.addParam("UncheckUploadedFiles", "true");
iu.addParam("UploadSourceFile", "true");
iu.addParam("UploadThumbnail1Width","60");
iu.addParam("UploadThumbnail1Height","60");
iu.addParam("UploadThumbnail1JpegQuality","80");
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadView", "Details");
iu.addEventListener("ViewChange", "ImageUploader_ViewChange");
iu.writeHtml();
</script>
Thanks in advance for any help. I'll keep plugging away at the help files. Edited by user Wednesday, February 20, 2008 5:08:23 PM(UTC)
| Reason: Not specified
|