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

Notification

Icon
Error

Options
Go to last post Go to first unread
salimaabey  
#1 Posted : Thursday, December 24, 2009 12:32:45 AM(UTC)
salimaabey

Rank: Newbie

Groups: Member
Joined: 9/10/2009(UTC)
Posts: 3

I am using image uploader version 6, and when I activate silent mode, image uploader pops a window up after upload is completed. this is only for java version though, activeX version works fine. I don't have a redirect url, and I handle the post event in the same page where imageuploader is embedded. has anybody encountered the same problem? any advice is appreciated, thanks in advance
Tamila  
#2 Posted : Thursday, December 24, 2009 1:22:51 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello,

I just tried to reproduce your problem locally, but everything worked well. Could you please post your code with Image Uploader parameters here.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
salimaabey  
#3 Posted : Monday, December 28, 2009 12:03:35 AM(UTC)
salimaabey

Rank: Newbie

Groups: Member
Joined: 9/10/2009(UTC)
Posts: 3

Hi Tamila,

Thank you for your quick response. Here are the settings I use:


<script type="text/javascript">

function ImageUploader_Progress(Status, Progress, ValueMax, Value, StatusText) {
if (Status == "COMPLETE")
parent.SwitchToManageImages();
}

function ImageUploader_BeforeUpload() {
getImageUploader("ImageUploader").AddCookie('<%= imageUploaderCookieFix%>');
}

var iu = new ImageUploaderWriter("ImageUploader", 880, 650);
iu.activeXControlEnabled = false;
iu.javaAppletEnabled = true;
iu.javaAppletJarFileName = "ImageUploader6.jar";
iu.javaAppletCodeBase = "./";
iu.javaAppletCached = true;
iu.javaAppletVersion = "6.0.16.0";
iu.addParam("_cx", "20585");
iu.addParam("_cy", "16669");
iu.addParam("Action", "ImagePosterJavaV6.aspx");
iu.addParam("AdditionalFolderNavigator", "ImageUploader");
iu.addParam("AdditionalFormName", "Form1");
iu.addParam("AllowMultipleSelection", "-1");
iu.addParam("AllowTreePaneWidthChange", "true");
iu.addParam("AllowAutoRotate", "true");
iu.addParam("AutoRecoverMaxTriesCount", "1");
iu.addParam("AutoRecoverTimeOut", "5000");
iu.addParam("DeniedFileMask", "");
iu.addParam("DeleteUploadedFiles", "false");
iu.addParam("EnableFileViewer", "-1");
iu.addParam("FileMask", "*.jpg;*.jpeg;*.bmp;*.gif;*.png;");
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("FolderPaneHeight", "300");
iu.addParam("FolderView", "0");
iu.addParam("GuiGraphicsVersion", "1");
iu.addParam("HashAlgorithm", "");
iu.addParam("MaxConnectionCount", "1");
iu.addParam("MaxFileCount", "60");
iu.addParam("MaxFileSize", "0");
iu.addParam("MaxImageHeight", "0");
iu.addParam("MaxImageWidth", "0");
iu.addParam("MaxTotalFileSize", "0");
iu.addParam("MinImageHeight", "0");
iu.addParam("MinImageWidth", "0");
iu.addParam("PaneLayout", "2");
iu.addParam("PreviewThumbnailSize", "96");
iu.addParam("ProgressDialogWidth", "350");
iu.addParam("QualityMeterFormats", "");
iu.addParam("RedirectUrl", "");
iu.addParam("ShowButtons", "0");
iu.addParam("ShowContextMenu", "-1");
iu.addParam("ShowDebugWindow", "-1");
iu.addParam("ShowDeleteButton", "0");
iu.addParam("ShowDescriptions", "0");
iu.addParam("ShowFileNames", "-1");
iu.addParam("ShowPasteButton", "0");
iu.addParam("ShowSubfolders", "false");
iu.addParam("ShowUploadListButtons", "-1");
iu.addParam("SilentMode", "1");
iu.addParam("ThumbnailHorizontalSpacing", "15");
iu.addParam("ThumbnailVerticalSpacing", "15");
iu.addParam("TimeOut", "0");
iu.addParam("TotalFileSize", "0");
iu.addParam("TreePaneWidth", "234");
iu.addParam("UploadFileCount", "0");
iu.addParam("UploadSourceFile", "0");
iu.addParam("UploadThumbnail1CopyExif", "0");
iu.addParam("UploadThumbnail1FitMode", "1");
iu.addParam("UploadThumbnail1Height", "768");
iu.addParam("UploadThumbnail1JpegQuality", "70");
iu.addParam("UploadThumbnail1Width", "1024");
iu.addParam("UploadThumbnail2CopyExif", "0");
iu.addParam("UploadThumbnail2FitMode", "0");
iu.addParam("UploadThumbnail2Height", "480");
iu.addParam("UploadThumbnail2JpegQuality", "70");
iu.addParam("UploadThumbnail2Width", "640");
iu.addParam("UploadThumbnail3CopyExif", "0");
iu.addParam("UploadThumbnail3FitMode", "0");
iu.addParam("UploadThumbnail3Height", "480");
iu.addParam("UploadThumbnail3JpegQuality", "70");
iu.addParam("UploadThumbnail3Width", "640");
iu.addParam("UploadView", "4");
iu.addParam("UseSystemColors", "-1");

iu.addEventListener("Progress", "ImageUploader_Progress");
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload");

iu.writeHtml();

</script>


Some of those parameters might be obsolete though, because I just copied the settings I used for the older version. Anyway, it seems that the image uploader is trying to handle the server response in that new window it opens. I tried a couple of workarounds but none of them worked. I am probably doing something wrong here, but the same code works in IE, it just doesn't make sense.

edit: I am sorry I meant the activeX version with IE

Edited by user Monday, December 28, 2009 12:14:18 AM(UTC)  | Reason: Not specified

Tamila  
#4 Posted : Monday, December 28, 2009 2:58:53 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

Thank you for the code. It is working correctly with Image Uploader 6.1.4. As I can see in your code you use Image Uploader 6.0.16. I recommend you to update your current version to the latest one. To download Image Uploader 6.1.4 click here.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
salimaabey  
#5 Posted : Monday, December 28, 2009 11:42:59 PM(UTC)
salimaabey

Rank: Newbie

Groups: Member
Joined: 9/10/2009(UTC)
Posts: 3

Yeah it was probably an issue with the version I was using, I updated it to the newest version and it worked. Thank you for your help.
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.