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



Go to last post Go to first unread
#1 Posted : Thursday, December 21, 2006 12:42:44 PM(UTC)

Rank: Member

Groups: Member
Joined: 12/21/2006(UTC)
Posts: 1

The image uploading works perfectly in FF 1.5 (winXP) and ie 6/7 (winXP) but not in Safari 2.0.4

it looks as if the files are processed correctly - and even tells me that the upload completed succesfully. It then takes me to the redirector - but alas no images uploaded. I ran some tests and discovered it's not even hitting the Action file in safari.

here is my code:

<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);

// If you do not want to use ActiveX or Java version, set the appropriate
// property to false.
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;
iu.addParam("FolderPaneHeight", "320");
iu.addParam("PaneBackgroundColor", "#ffffff");
iu.activeXControlCodeBase = "imageuploader/ImageUploader4.cab";


iu.instructionsCommon="Image Uploader ActiveX control is necessary to upload "+
                      "your files quickly and easily. You will be able to select multiple images "+
                      "in a sweeett interface instead of lame input fields. "+
                      "Installation can take up to a few minutes, please be patient. To install Image Uploader, ";

iu.instructionsNotWinXPSP2="please reload page and hit the \"Yes\" button " +
                           "when you see the control installation dialog."

iu.instructionsWinXPSP2="please click on the Information Bar. After the page reloads hit the \"Yes\" button when "+
                          "you see the control installation dialog.";

iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.gif;*.png");	
iu.addParam("MaxFileSize", "0");	
iu.addParam("MaxFileCount", "74");	
iu.addParam("UploadSourceFile", "false");	
iu.addParam("MaxConnectionCount", "1");	
iu.addParam("FilesPerOnePackageCount", "-1"); 
iu.addParam("Action", "image_upload_handler.php?type=1");	//url submitted for handling
iu.addParam("AdditionalFormName", "album_form");	

//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "780");
iu.addParam("UploadThumbnail1Height", "1500");
iu.addParam("UploadThumbnail1JpegQuality", "90");
iu.addParam("UploadThumbnail1ResizeQuality", "High");
iu.addParam("UploadThumbnail1CopyExif", "true");
iu.addParam("ShowDebugWindow", "false");
iu.addParam("ShowDescriptions", "false");
iu.addParam("MenuArrangeByText", "Arrange Icons By");
iu.addParam("ButtonSendText", "Upload");
iu.addParam("ExtractExif", "ExifArtist;ExifCopyright;ExifDateTimeDigitized;ExifDateTimeOriginal;ExifDigitalZoomRatio;ExifExposureTime;ExifFlash;ExifFNumber;ExifFocalLength;ExifFocalLengthIn35mmFilm;ExifImageDescription;ExifISOSpeedRatings;ExifMake;ExifModel;ExifShutterSpeed;ExifSoftware;ExifUserComment;");
iu.addParam("RedirectUrl", "mygallery-artgallery.php?album_id=62&timestamp=1166763247");

Edited by user Tuesday, February 19, 2008 6:43:30 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Thursday, December 21, 2006 6:02:48 PM(UTC)
Alex Makhov

Rank: Advanced Member

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


Could you show the Java Console Dump of an error?

Edited by user Monday, October 27, 2008 7:55:20 PM(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.