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

Notification

Icon
Error

Options
Go to last post Go to first unread
paulio  
#1 Posted : Saturday, May 14, 2005 10:12:00 AM(UTC)
paulio

Rank: Member

Groups: Member
Joined: 5/14/2005(UTC)
Posts: 1

Hi All,

I bought the Image Uploader software a while ago and couldn't quite get it working, so left it until I had a real need for it. I upgraded to the new version as I now have a need.
Below is the code I am using in the .htm page:

Code:
<object type="application/x-oleobject" classid="clsid:A18962F6-E6ED-40B1-97C9-1FB36F38BFA8" width="770" height="500" CodeBase="../ImageUploader3.cab#version=3,5,46,0" id="ImageUploader" name="ImageUploader" VIEWASTEXT>
<param name="LicenseKey" value="BLAA-BLAA-BLAA-BLAA">
<param name="Layout" value="TwoPanes">
<param name="ShowDescriptions" value="False">
<param name="UploadMode" value="Separate">
						
<param name="UploadThumbnail1FitMode" value="fit">
<param name="UploadThumbnail1Width" value="300">
<param name="UploadThumbnail1Height" value="300">
<param name="UploadThumbnail1JpegQuality" value="60">

<param name="UploadThumbnail2FitMode" value="fit">
<param name="UploadThumbnail2Width" value="30">
<param name="UploadThumbnail2Height" value="30">
<param name="UploadThumbnail2JpegQuality" value="20">
						
<param name="ShowDebugWindow" value="True">
<param name="AdditionalFormName" value="Form1">
<param name="EnableRotate" value="False">
						
<param name="UploadSourceFile" value="False">
						
<param name="FileFilter" value="False">						
<param name="Action" value="Upload.php">
<param name="RedirectUrl" value="../Gallery">	
</object>


I have not altered the Upload.php page at all... but changed the Redirect URL to '../Gallery' so I could see the files straight away. And for the life of me I can not get the above code working!!

What I am wanting to do is upload 2 versions of the original file, but not the original. Say I chose to upload 5 images, after it has done its process and is complete i'll view the directory and there will only be 1 file in the Thumbbails directory named '1_.jpg'.. grrr, it doesnt want to work for me.

Now I could be doing something so stupid, I really dont know. I hope someone can point me on the right direction.

Thanks :$
Paulio

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

Fedor  
#2 Posted : Sunday, May 15, 2005 2:04:00 PM(UTC)
Fedor

Rank: Advanced Member

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

Thanks: 4 times
Was thanked: 56 time(s) in 55 post(s)
PHP doesn't stop page execution when error arrises. So way in order to check whether error in Upload.php arrised please add following code to your page:

Code:
<script for="ImageUploader" event="Progress(Status, Progress, ValueMax, Value, StatusText)">
if (Status=="COMPLETE"){
   //When Status=COMPLETE in StatusText there is response from server
   alert(StatusText);
}
</script>


Also please post Upload.php page you modified in order we checked it.


Edited by user Tuesday, February 26, 2008 2:25:09 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
Alex Makhov  
#3 Posted : Sunday, May 15, 2005 2:52:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hi,

I have some note about your code:

Code:
<param name="UploadMode" value="Separate">


The property UploadMode is now absolete and supported only for the backward compatibility. It is highly recommended to use the FilesPerOnePackageCount property instead.

Edited by user Tuesday, February 26, 2008 2:25:33 AM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
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.