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

Notification

Icon
Error

Options
Go to last post Go to first unread
JasonChandler  
#1 Posted : Monday, June 20, 2005 7:05:00 PM(UTC)
JasonChandler

Rank: Member

Groups: Member
Joined: 6/13/2005(UTC)
Posts: 5

Hi all,

I am Now using the Java Version of image upload, but I am having a problem with apple macs, not being able to see the java applet.

All I get is a blank page where the applet should be.

Is anybody else using this on apple mac?

Can anybody advise me as to what to do? Does it even work with a mac?

Jason
JasonChandler  
#2 Posted : Monday, June 20, 2005 8:21:00 PM(UTC)
JasonChandler

Rank: Member

Groups: Member
Joined: 6/13/2005(UTC)
Posts: 5

Sorry here is a sample of my code..

Code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="uploadform.aspx.vb" Inherits="MelvynPhotoShare.uploadform"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>uploadform</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<link href="../../Styles.css" rel="stylesheet" type="text/css">
</HEAD>
<body>
<form id="Form1">
  <input name="clientid" type="hidden" id="clientid" value="<%=Request.QueryString("clid")%>">
  <input name="albid" type="hidden" id="albid" value="<%=Request.QueryString("albid")%>">
</form>
<table width="100%" height="90" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="869" align="left" valign="top">
	
<script language="javascript" src="../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 = "../";
iu.javaAppletCached = false;
iu.javaAppletVersion = "1.0.28.0";

iu.addParam("Layout","OnePane"); //Doesn't work for Java version
iu.addParam("UploadThumbnail1FitMode","Fit");
iu.addParam("UploadThumbnail2FitMode","Fit");
iu.addParam("UploadThumbnail1Width","155");
iu.addParam("UploadThumbnail1Height","155");
iu.addParam("UploadThumbnail1JpegQuality","80");
iu.addParam("UploadThumbnail2Width","390");
iu.addParam("UploadThumbnail2Height","390");
iu.addParam("UploadThumbnail2JpegQuality","80");
iu.addParam("ShowDebugWindow","True");
iu.addParam("AdditionalFormName","Form1");
iu.addParam("EnableRotate","True");
iu.addParam("LicenseKey", "xxxx-xxxx-xxxx-xxxx");
iu.addParam("Action","upload.aspx");

iu.addEventListener("Progress", "ImageUploader_Progress");

iu.writeHtml();
</script>

<script language="javascript">
function ImageUploader_Progress(Status, Progress, ValueMax, Value, StatusText){
    if (Status=="COMPLETE"){
	   // When upload is finished, we are redirecting to the PictureGalery.aspx page
	   window.location = 'preview.aspx?albid=<%=Request.QueryString("albid")%>&clid=<%=Request.QueryString("clid")%>';  
    }
} 
</script>
    </td>
  </tr>
</table>
</body>
</HTML>

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

Fedor  
#3 Posted : Tuesday, June 21, 2005 12:15:00 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,508

Thanks: 3 times
Was thanked: 49 time(s) in 48 post(s)
Hello Jason,

What version of Mac OS do you use?

Do you use it with Safari browser? If yes, what version does it have?
Best regards,
Fedor Skvortsov
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.