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

Notification

Icon
Error

Options
Go to last post Go to first unread
jgibbs  
#1 Posted : Sunday, November 2, 2008 11:56:47 PM(UTC)
jgibbs

Rank: Advanced Member

Groups: Member
Joined: 9/22/2008(UTC)
Posts: 39

I've allowed this option for the upload pane but it's not showing the icons. It's automatically turned on in the thumbnail pane but not working in the upload pain. Here's my script:

Code:
var iu = new ImageUploaderWriter("ImageUploader1", 650, 310);
        
        
        //For ActiveX control full path to CAB file (including file name) should be specified.
        iu.activeXControlCodeBase = "/admin/imagegallery/uploader/ImageUploader5.cab";
        //iu.activeXControlVersion = "5,5,1,0";
        iu.activeXControlVersion = "5,5,6,0";
        
        iu.activeXControlEnabled = false;
        iu.javaAppletEnabled = true;
        
        //For Java applet only path to directory with JAR files should be specified (without file name).
        iu.javaAppletJarFileName = "ImageUploader5.jar";
        iu.javaAppletCodeBase = "/admin/imagegallery/uploader/";
        iu.javaAppletCached = true;
        iu.javaAppletVersion = "5.5.6.0";
        
        iu.showNonemptyResponse = "off";
        
        //Configure License Keys
        iu.addParam("LicenseKey", "xxxxx");
        
        //Configure appearance.
        iu.addParam("PaneLayout", "ThreePanes");
        iu.addParam("FolderView", "Thumbnails");
        iu.addParam("ShowDebugWindow", "true");
        iu.addParam("BackgroundColor", "#eff1f9");
        iu.addParam("ShowUploadListButtons", "true");
        iu.addParam("ButtonRemoveFromUploadListText", "");
        iu.addParam("ButtonRemoveAllFromUploadListText", "");
        iu.addParam("UploadPaneBackgroundColor", "#ffffff");
	[color=red]iu.addParam("UploadPaneAllowRotate", "true");[/color]
        iu.addParam("PaneBackgroundColor", "#ffffff");
        
        
        iu.addParam("ShowDescriptions", "false");
        
        iu.addParam("ShowButtons", "false");
        
        //Hide standard upload pane.
        iu.addParam("FolderPaneHeight", "-1");
        
        //Configure upload parameters
        iu.addParam("FilesPerOnePackageCount", "3");
        iu.addParam("AutoRecoverMaxTriesCount", "5"); 
        iu.addParam("AutoRecoverTimeOut", "5000");
        iu.addParam("MaxConnectionCount", "2");
        iu.addParam("FileMask", "*.jpg*;*.jpeg;*.jpe;*.tif;*.bmp;*.png"); 
        iu.addParam("UploadSourceFile", "true"); //upload the source image file.
        iu.addParam("ExtractExif", "ExifDateTime");
        iu.addParam("AdditionalFormName", "form_moredata");
        iu.addParam("MaxFileCount", "50");
        iu.addParam("MessageMaxFileCountExceededText", "You are limited to 50 items per upload.");
        
        
            //Thumbnail 1
            iu.addParam("UploadThumbnail1FitMode", "Fit"); 
            iu.addParam("UploadThumbnail1Width", "500");
            iu.addParam("UploadThumbnail1Height", "500");
            iu.addParam("UploadThumbnail1JpegQuality", "70");
            iu.addParam("UploadThumbnail1CopyExif", "true");
        
            //Thumbnail 2
            iu.addParam("UploadThumbnail2FitMode", "Fit"); 
            iu.addParam("UploadThumbnail2Width", "200");
            iu.addParam("UploadThumbnail2Height", "150");
            iu.addParam("UploadThumbnail2JpegQuality", "40");
            iu.addParam("UploadThumbnail2CopyExif", "true");
        
        //Configure URL files are uploaded to.
        iu.addParam("Action", "upload.aspx");
Dmitry  
#2 Posted : Tuesday, November 4, 2008 5:22:49 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

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

I see this line in your script:

Code:

[color=red]iu.addParam("UploadPaneAllowRotate", "true");[/color]

You need to remove all additional tags:

Code:

iu.addParam("UploadPaneAllowRotate", "true");
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

jgibbs  
#3 Posted : Sunday, November 9, 2008 8:41:13 PM(UTC)
jgibbs

Rank: Advanced Member

Groups: Member
Joined: 9/22/2008(UTC)
Posts: 39

Sorry that was NOT in my code. I was trying to highlight that portion of the code in the posting above but the color tags don't get read when you wrap it in [code] tags. That's not in my actual script.
Dmitry  
#4 Posted : Monday, November 10, 2008 2:44:08 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

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

Thank you for your answer.

It seems I understood what was the matter of the problem. You make upload pane invisible using iu.addParam("FolderPaneHeight", "-1"), it means that you use custom upload pane like we have in MultipleDescritptions sample based on Thumbnail objects. Unfortunately it does not support rotation operations. Only standard upload pane allows rotating of images.

Sincerely yours,

Dmitry Sevostyanov

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.