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



Go to last post Go to first unread
#1 Posted : Thursday, June 23, 2005 11:16:00 AM(UTC)

Rank: Member

Groups: Member
Joined: 11/27/2003(UTC)
Posts: 29

I' in process of going from Active-x to Java versions and things are not going well.
Application is in an asp.net enviorment.

Below is my code.
1 - LicenseKey is actual site licensekey for production site,but I'm running on localhost for development.
2 - Upload only uploads a 2kb thumbnail, it should be a 1200x800 pixel file downsized from 3072 to 2048.
3 - In routine to recieve file, it is correctly called and has an indicated file count of one, but there are no files. I"m similar code to your samples and it is same code that recieved file in active-x version.

Any thoughts on where to look.

<script src="uploader_Java/iuembed.js"></script>
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);
iu.activeXControlEnabled = false;
iu.javaAppletEnabled = true;

//For ActiveX control we specify full path for CAB file
//iu.activeXControlCodeBase = "../ImageUploader3.cab";
//iu.activeXControlVersion = "3,5,50,0";

//For Java applet we specify only directory with JAR files
iu.javaAppletCodeBase = "uploader_Java/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "";
iu.addParam("LicenseKey", "xx....xx");
iu.addParam("Layout","TwoPanes"); //This parameter will be ignored by Java version

<script language="javascript">
iu.addParam("Action" ,"/dotnetnuke/desktopmodules/photoUpload/PhotoUploadReceiveImage.aspx?photoOrderID=141&paperpriceID=1&qty=1&ratio=1.50&maxDim=6");
iu.addParam("RedirectUrl" ,"http://localhost/dotnetnuke/Default.aspx?tabid=37&pupageid=2");
iu.addParam("UploadThumbnail1Width" ,"1200");
iu.addParam("UploadThumbnail1Height" ,"1200");
iu.addParam("UploadThumbnail1JpegQuality" ,"90");
iu.addParam("UploadSourceFile" ,"False");
iu.addParam("FileMask" ,"*.jpg;*.jpeg;*.JPG;*.JPEG");
iu.addParam("TimeOut" ,"45000");
iu.addParam("PreviewThumbnailSize" ,"150");
iu.addParam("SilentMode" ,"False");
iu.addParam("ShowDebugWindow" ,"True");
iu.addParam("EnableRotate" ,"True");
iu.addParam("ShowDescriptions" ,"False");
</script >

<script language="javascript">

Edited by user Sunday, December 23, 2007 6:06:47 PM(UTC)  | Reason: Not specified

Tom Thorp
Still waters, great photos
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.