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



Go to last post Go to first unread
#1 Posted : Sunday, July 1, 2007 4:22:37 AM(UTC)

Rank: Member

Groups: Member
Joined: 6/26/2006(UTC)
Posts: 2

I have read the docs about how to put the license key into the apps, and i have tried to get an answer from support. But can some please explain this in a human way?

Take the "Basic Demo" asp example included with the uploader, how do i put my valid key into this example? I have tried to put it where the "XXXX-XXXX-XXXX-XXXX" are, but i guess im missing something!! I have read about invoke, but i dont find ANYTHING similar in the demo code! How hard can it be!?


<%@ Language="VBScript" %>
<!--#include file="../config.asp"-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<title>Aurigma Image Uploader - Basic Demo</title>

	<script type="text/javascript" src="../iuembed.js"></script>

	<link href="style.css" type="text/css" rel="stylesheet" />

		This simple application is a quick start demo with minimum settings. It demonstrates
		how to:
		<li>Display thumbnails in two-pane layout.</li>
		<li>Upload the file with 120x120 thumbnail.</li>
		<li>Redirect to another page after successful upload.</li>
		<legend>Note</legend>This demo application <strong>deletes all previously uploaded files</strong>.
		Keep in mind that it is a feature of this demo, not of Image Uploader itself. If
		you <strong>do not want to delete uploaded files</strong>, you should modify the
		upload processing page specified by the <strong>Action</strong> parameter.

	<script type="text/javascript">
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 650, 400);

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "../ImageUploader4.cab";
iu.activeXControlVersion = "4,5,4,0";

//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletCodeBase = "../";
iu.javaAppletCached = true;
iu.javaAppletVersion = "";

iu.showNonemptyResponse = "off";

iu.addParam("LicenseKey", "XXXX-XXXX-XXXX-XXXX");

//Configure appearance.
iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("ShowDebugWindow", "true");
iu.addParam("AllowRotate", "false");
iu.addParam("BackgroundColor", "#ccccff");

//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");

//Configure URL files are uploaded to.
iu.addParam("Action", "<%=GetUploadUrl()%>")

//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "<%=GetGalleryUrl()%>")

//Tell Image Uploader writer object to generate all necessary HTML code to embed 
//Image Uploader to the page.



Edited by user Friday, February 22, 2008 5:52:15 PM(UTC)  | Reason: Not specified

George Ulyanov  
#2 Posted : Sunday, July 1, 2007 12:48:54 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups: Member
Joined: 7/26/2006(UTC)
Posts: 203


iu.addParam("LicenseKey", "XXXX-XXXX-XXXX-XXXX");

It seems it is correct code. could you post the URL of the page with Image Uploader?

Also please check Removing Limitations of Evaluation Version topic.

Edited by user Tuesday, October 28, 2008 6:06:39 AM(UTC)  | Reason: Not specified

Best regards,
George Ulyanov
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.