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

Notification

Icon
Error

Options
Go to last post Go to first unread
Fedor  
#1 Posted : Friday, November 28, 2003 9:35:00 PM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
After visiting Mozilla ActiveX Plugin web site I have found that Image Uploader can work in latest Mozilla browser. After installing Mozilla ActiveX Plugin mozilla browser can host Image Uploader as well. This plugin has not full support of ActiveX, but I think it is interesting in any case. :)

This code makes Image Uploader working in Mozilla.

Code:

<html>
	<head>
		<title>Aurigma Image Uploader</title>
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<link href="Style.css" type="text/css" rel="stylesheet">
	</head>
	<body bgcolor="#ffcc9c">
		<table cellpadding="0" cellspacing="0" border="0" width="710">
			<tr>
				<td width="710">
					<object type="application/x-oleobject" 
classid="clsid:BB6633E1-FE3B-41A1-A2D3-D08400D828BC" 
width="710" height="500" CodeBase="ImageUploader.CAB" 
viewastext id="ImageUploader" name="ImageUploader">
						<param name="DescriptionsVisible" value="True">
						<param name="TimeOut" value="30000">
						<param name="MaxUploadSize" value="0">
						<param name="SilentMode" value="False">
						<param name="ShowDebugWindow" value="True">
						<param name="Action" value="http://localhost/firebird/Upload.asp">

						<param name="LicenseKey" value="6221-7840-6351-7041">
					</object>
				</td>
			</tr>
		</table>
		<script for="ImageUploader" event="OnProgress(Status, Progress, ValueMax, Value, StatusText)">
if (Status=="COMPLETE"){
	//We redirect to PictureGalery.asp page when upload process is completed
	window.location.replace('PictureGallery.asp');
}
		</script>
	</body>
</html>

Edited by user Thursday, December 20, 2007 6:42:57 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
paul  
#2 Posted : Monday, December 22, 2003 4:57:00 AM(UTC)
paul

Rank: Member

Groups: Member
Joined: 12/16/2003(UTC)
Posts: 13

Fedor,

thanks for you comments. I successfully tried ImageUploader with Netscape 7.1
The activeX loads properly. However, ther is a surprising behaviour with the
Author name form: the pictures are uploaded properly but it seems that the form is not posted with the images.

In your example above, the form is not attached to your x-oleobject.
have you ever tried with the text area ?

Thanks for your reply.
Paul
Andrew  
#3 Posted : Monday, December 22, 2003 1:24:00 PM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Paul,

To attach form, Image Uploader get access to Internet Explorer object model (IHTMLDocument2 interface and so on). Mozilla does not provide the DOM for the ActiveX objects it contains, that's why it fails to find additional form. The same will happen if you insert Image Uploader into VB application.

It is possible Mozilla provides alternative ways to get access to the DOM, but we need to investigate this question more thoroughly. If so, we will add this feature to the Image Uploader.

========================================================
02/14/2008, Fedor
In 2005 year we have released Java version of Image Uploader which works perfectly in Firefox and Safari.
========================================================

Edited by user Wednesday, February 13, 2008 2:38:16 PM(UTC)  | Reason: Not specified

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.