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



Go to last post Go to first unread
#1 Posted : Wednesday, December 15, 2010 4:14:17 AM(UTC)

Rank: Member

Groups: Member
Joined: 9/27/2010(UTC)
Posts: 23

Thanks: 1 times

I am in the process of converting my 6.5 image upload code to 7.
Here is what I have done so far:

* installed imageUploader 7 from website

* moved imageUploader 7 code files from sample apps to my app (i.e. the jar and winrar and js files)

* Updated code to the code below.

Is there anything else that needs to be done?

When I try run the code, in Firebug I get the error:
"$au is not defined"

Am I forgetting something that initialises au somewhere?


<script type="text/javascript">
						var uploader = $au.uploader({
							id: 'ImageUploader1',
							width: '900px',
							height: '460px',
							licenseKey: '76FF4-00400-00007-08D70-8D1BE-08080D',
							activeXControl: {
								codeBase: '#application.Config.jsDir#/aurigmaScripts/7/ImageUploader7.cab'
							javaControl: {
								codeBase: '#application.Config.jsDir#/aurigmaScripts/7/ImageUploader7.jar'
							// Configure converters
							converters: [
								// Source file
								{    mode: '*.*=SourceFile' },
								// Thumbnail settings
									mode: '*.*=Thumbnail',
									thumbnailFitMode: 'Fit',
									thumbnailWidth: 150,
									thumbnailHeight: 150,
									thumbnailJpegQuality: 90,
							 uploadSettings: {
								actionUrl: '#xfa.formAction##attributes.action#&albumId=#attributes.albumId#&photoRights=true',
								redirectUrl: '#application.Config.fullUrl#album.update&action=editPhotos&albumId=#attributes.albumId#',
								filesPerPackage: 1,
						//Configure appearance.
						uploader.addParam("PaneLayout", "TwoPanes");
						uploader.addParam("ShowDebugWindow", "true");
						uploader.addParam("AllowRotate", "false");
						uploader.addParam("BackgroundColor", "##ffffff");
						uploader.addParam("ShowDescriptions", "false");	
						uploader.addParam("MaxFileCount", "60");	

Edited by moderator Wednesday, December 15, 2010 5:07:20 AM(UTC)  | Reason: Not specified

#2 Posted : Thursday, December 16, 2010 3:47:14 AM(UTC)

Rank: Advanced Member

Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Paul,

Probably, you experience this problem because aurigma.uploader.js could not be found. Please be sure that you put this file in the Script/ folder, and specify it like in this code line:
 <script src="../Scripts/aurigma.uploader.js" type="text/javascript"></script>
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
#3 Posted : Friday, December 17, 2010 12:22:00 AM(UTC)

Rank: Member

Groups: Member
Joined: 9/27/2010(UTC)
Posts: 23

Thanks: 1 times
Thanks - that worked!
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.