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

Notification

Icon
Error

Options
Go to last post Go to first unread
PhotoshopGod  
#1 Posted : Sunday, December 31, 2006 1:03:18 PM(UTC)
PhotoshopGod

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 &amp; 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

Eugene Kosmin  
#2 Posted : Wednesday, January 03, 2007 1:00:03 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 395

Was thanked: 9 time(s) in 9 post(s)
Hello, Status Pane was removed in IU 4.0, but now you can implement this feature through scripting.

Edited by user Monday, February 25, 2008 4:35:15 PM(UTC)  | Reason: Not specified

Best regards, Eugene Kosmin. Aurigma Development Team
PhotoshopGod  
#3 Posted : Sunday, January 07, 2007 7:46:41 AM(UTC)
PhotoshopGod

Rank: Member

Groups: Member
Joined: 12/31/2006(UTC)
Posts: 3

I don't suppose you have any script examples of this? I'm still getting used to the ImageUploader model.
Alex Makhov  
#4 Posted : Monday, January 08, 2007 4:20:43 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello, Which PaneLayout do you use: One, Two or ThreePanes?

Edited by user Wednesday, February 20, 2008 5:09:13 PM(UTC)  | Reason: Not specified

Sincerely yours, Alex Makhov UserPostedImage Follow Aurigma on Twitter!
PhotoshopGod  
#5 Posted : Friday, January 12, 2007 1:16:19 AM(UTC)
PhotoshopGod

Rank: Member

Groups: Member
Joined: 12/31/2006(UTC)
Posts: 3

I use the three pane layout.
Alex Makhov  
#6 Posted : Friday, January 12, 2007 2:11:47 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello, Than you could use the UploadFileCountChange event handler to show how much files are to be sent to the server by using JavaScript.

Edited by user Wednesday, February 20, 2008 5:10:46 PM(UTC)  | Reason: Not specified

Sincerely yours, Alex Makhov UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
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.