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

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
Inazad  
#21 Posted : Wednesday, October 14, 2009 8:45:21 AM(UTC)
Inazad

Rank: Member

Groups: Member
Joined: 8/23/2009(UTC)
Posts: 16

Your product is working fine.

But now I cannot see the thumbsnail picture (preview) in the UploadPane on IE 8. Like the picture's link is missing or broken, something like that...

But on Firefox is working well.

And I think I cannot upload when the problem is raising...

Can you help me with this ?

There is a snapshot of the problem :

UserPostedImage

Thanks.

Edited by user Wednesday, October 14, 2009 10:53:38 AM(UTC)  | Reason: Not specified

Tamila  
#22 Posted : Wednesday, October 14, 2009 3:23:45 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,

Could you please post here the code where you define Image Uploader.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Inazad  
#23 Posted : Thursday, October 15, 2009 4:42:51 AM(UTC)
Inazad

Rank: Member

Groups: Member
Joined: 8/23/2009(UTC)
Posts: 16

The $PID & $CID is for database use in upload.php.

Here is the code for index.php :

Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php 
require_once 'ImageUploaderPHP/Main.php';

?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link href="common.css" type="text/css" rel="stylesheet" />
	<link href="style.css" type="text/css" rel="stylesheet" />	
	<style type="text/css">
		.ScreenStyle {background-color:#ffffff;font-family:verdana;font-size:11px;padding:10px;text-align:center}
    </style>
	<script type="text/javascript">
var imageUploader1ID = "ImageUploader1";
	</script>

	<script src="script.js" type="text/javascript"></script>
</head>
<body>
	<form>
		<table>
			<tbody>
				<tr>
					<td align="right">
						<input id="UploadButton" type="button" value="&nbsp;&nbsp;Envoyer les fichiers&nbsp;&nbsp;" disabled="disabled" onclick="UploadButton_click();" />
					</td>
				</tr>
				<tr>
					<td>
<?php

	$PID = $_GET['PID'];
	$CID = $_GET['CID'];

	$iu = new ImageUploader('ImageUploader1', 650, 250); 

	//Configure license keys.
	//$iu->setLicenseKey('72060-4F50B-00000-0876E-319DF');
	$iu->setLicenseKey('***********************');

	//Configure appearance.
	$iu->setPaneLayout('ThreePanes');
	$iu->setFolderView('Thumbnails');

	$iu->setBackgroundColor('#eff1f9');
	$iu->setShowUploadListButtons(true);
	$iu->setButtonRemoveFromUploadListText('');
	$iu->setButtonRemoveAllFromUploadListText('');

	$iu->setActiveXControlEnabled(false);
	$iu->setJavaAppletEnabled(true);

	$iu->setShowDescriptions(false);
	$iu->setAllowRotate(false);
	$iu->setShowButtons(false);
	$iu->setUploadSourceFile(false);
	//Hide standard upload pane.
	$iu->setFolderPaneHeight(-1);

	//Configure thumbnail settings.
	$iu->setUploadThumbnail1FitMode('Fit');
	$iu->setUploadThumbnail1Width(640);
	$iu->setUploadThumbnail1Height(480);
	$iu->setUploadThumbnail1JpegQuality(75);

	//Configure URL files are uploaded to.
	$iu->setAction('upload.php?CID=$CID&PID=$PID');

	//Configure URL where to redirect after upload.
	//$iu->setRedirectUrl('gallery.php');

	//Add event handlers.
	$iu->addClientUploadFileCountChange('ImageUploader1_UploadFileCountChange');
	$iu->addClientBeforeUpload('ImageUploader1_BeforeUpload');
	$iu->addClientFullPageLoad('ImageUploader1_FullPageLoad');

	//Configure installation progress.
	$iu->getInstallationProgress()->setVisible(true);
	$iu->getInstallationProgress()->setProgressCssClass("ScreenStyle");
	$iu->getInstallationProgress()->setInstructionsCssClass("ScreenStyle");
								
	$iu->render();

?>
					</td>
				</tr>
				<tr>
					<td>
					<!--
							The code which forms the upload pane itself is located in a separate script.js file.
							It is highly recommended to keep this code in a separate file to avoid problems with 
							Internet Explorer with security update 912945 (ActiveX controls activation):
					        
							http://support.microsoft.com/kb/912945/en-us 
					-->
						<div id="UploadPaneFrame">
							<div id="UploadPane"></div>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>

Now I get "ImageUploader has encoutered some problems..."....

Where is the problem ?

Edited by user Thursday, October 15, 2009 4:48:32 AM(UTC)  | Reason: Not specified

Tamila  
#24 Posted : Thursday, October 15, 2009 1:20:47 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. As you said before you have purchased Image Uploader Java only, in this case you need to disable ActiveX control in following way:

BaseControl.class.php:

Code:
34   var $_activeXControlEnabled = false;

In script.js file:

Code:
var tn = new ThumbnailWriter("Thumbnail" + uniqueId, 96, 96);
//Copy codebase and version settings from ImageUploaderWriter instance.
var iu = eval(imageUploader1ID + "_w");
tn.activeXControlEnabled = false;
	
tn.javaAppletCodeBase = iu.javaAppletCodeBase;
tn.javaAppletJarFileName  = iu.javaAppletJarFileName;
tn.javaAppletCached = iu.javaAppletCached;
tn.javaAppletVersion = iu.javaAppletVersion;

About "ImageUploader has encountered some problems..." error message. it means that you have some server side error. I recommend you to debug your server scripts. How to do it you can read here:

Debugging Server Scripts

Edited by user Thursday, October 15, 2009 1:21:51 PM(UTC)  | Reason: Not specified

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Inazad  
#25 Posted : Thursday, October 15, 2009 2:08:58 PM(UTC)
Inazad

Rank: Member

Groups: Member
Joined: 8/23/2009(UTC)
Posts: 16

OK Now the upload is completing.

The little bug was on the setAction parameter. I forgot to concatenate variable ... like upload.php'.$VAR.'....

But I cannot see the thumbsnail preview on IE.

Why ?

Inazad  
#26 Posted : Friday, October 16, 2009 4:48:52 AM(UTC)
Inazad

Rank: Member

Groups: Member
Joined: 8/23/2009(UTC)
Posts: 16

I want to know how to enable the multiple selection and the drag and drop ?

I want to select multiple pictures and drag it to the upload pane.. ? how please!?

Tamila  
#27 Posted : Sunday, October 18, 2009 6:13:33 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,

Quote:
But I cannot see the thumbnails preview on IE.
Please send me the link to the page where you experience problem with Image Uploader, also send me login information if necessary. You can send me this information via PM.

Quote:
I want to know how to enable the multiple selection and the drag and drop ?

I want to select multiple pictures and drag it to the upload pane.. ? how please!?

Unfortunately, drag and drop is insecure in this case because html-upload pane is not the part of Image Uploader. So standard version of Image Uploader does not support drag and drop to html-upload pane, but we can create special version for you. Please contact us at sales@aurigma.com

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
2 Pages<12
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.