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



Go to last post Go to first unread
#1 Posted : Thursday, March 8, 2007 2:32:40 PM(UTC)

Rank: Member

Groups: Member
Joined: 3/8/2007(UTC)
Posts: 1


The full sized images upload ok but the smaller images (thumbnails) do not upload. If iu.addParam("UploadSourceFile", "false"); is set to false nothing is uploaded at all. Are the thumbnails in the same directory as the original images or in some other directory.

<script type="text/javascript">

//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 750, 500);
iu.addParam("LicenseKey", "7759-9374-7639-7639");

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "ImageUploader4.cab";
iu.activeXControlVersion = "4,1,1,0";
iu.showNonemptyResponse = "off";

//Configure appearance and behavior.
iu.addParam("PaneLayout", "ThreePanes");
iu.addParam("FolderPaneHeight", "200");
iu.addParam("ShowDebugWindow", "true");
iu.addParam("AllowMultipleRotate", "true");
iu.addParam("AllowMultipleRemove", "true");
iu.addParam("BackgroundColor", "#EDEDED");
iu.addParam("ShowDebugWindow", "true");

//Configure file mask to display JPEG images only.
iu.addParam("FileMask", "*.jpg;*.jpe;*.jpeg");
iu.addParam("UploadSourceFile", "true");

//Upload thumbnail
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "140");
iu.addParam("UploadThumbnail1Height", "140");
iu.addParam("UploadThumbnail1JpegQuality", "80");

//Configure URL files are uploaded to.
iu.addParam("Action", "upload.php");

//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "");

//Tell Image Uploader writer object to generate all necessary HTML code to embed 
//Image Uploader to the page.

Edited by user Thursday, February 21, 2008 7:15:30 PM(UTC)  | Reason: Not specified

- I know the thoughts I think toward you for good and not evil
George Ulyanov  
#2 Posted : Friday, March 9, 2007 5:51:50 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups: Member
Joined: 7/26/2006(UTC)
Posts: 203


It depends on your upload script. You can place them together (source file and its thumbnails), you can separate them and place into different folders.
Please try our helper scripts also. These scripts just save the uploaded data into the special folder (look into the scripts for getting more information).

Edited by user Thursday, February 21, 2008 7:12:19 PM(UTC)  | Reason: Not specified

Best regards,
George Ulyanov
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.