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

Notification

Icon
Error

Options
Go to last post Go to first unread
eg_hch  
#1 Posted : Sunday, August 20, 2006 7:04:01 PM(UTC)
eg_hch

Rank: Member

Groups: Member
Joined: 6/13/2006(UTC)
Posts: 22

My company has a team of photographers
They will copy images into a shared folder before using the application with the ImageUploader to upload images to the server
The folder usually has thousands of images

Now, my problems are
1. The cpu usage of ImageUploader is very high when the user browse into this folder (we are using ThreePanes), it keeps on 100% even when the user is idle and is using details view (without any thumbnail).

2. People keep copy images into the shared folder in the peak hours, and when the ImageUploader detects that the folder is changed, it refresh! Every time it refresh, it takes very long time, and also the selected images in the folder pane will be lost.

I want to ask, is there any background job that the ImageUploader doing even when there is no thumbnails to display?
Also, is it possible that the ImageUploader can stop detect for the folder changes unless the "Refresh" button is clicked?

Regards,
Jerry Hung
Fedor  
#2 Posted : Wednesday, August 23, 2006 7:17:38 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)
Hello Jerry,

Quote:
eg_hch (8/21/2006)
My company has a team of photographers

I want to ask, is there any background job that the ImageUploader doing even when there is no thumbnails to display?


Image Uploader can apply image dimension filters. For example if you use:

Code:
iu.addParam("MaxImageWidth", "1600");
iu.addParam("MaxImageHeight", "1600");


Then Image Uploader will read headers of all image files to check the dimensions. So way image dimensions will cause directory scan speed downfall. Could you post the code of page with image Uploader in order we checked the possible reason?

Quote:
eg_hch (8/21/2006)
Every time it refresh, it takes very long time, and also the selected images in the folder pane will be lost.


We confirm the bug. We will fix it to the next release.

Quote:
eg_hch (8/21/2006)
Also, is it possible that the ImageUploader can stop detect for the folder changes unless the "Refresh" button is clicked?


We can implement it as a custom feature. Please contact us at sales@aurigma.com for more info.

Edited by user Wednesday, October 29, 2008 1:50:40 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
eg_hch  
#3 Posted : Thursday, August 24, 2006 1:27:06 PM(UTC)
eg_hch

Rank: Member

Groups: Member
Joined: 6/13/2006(UTC)
Posts: 22

My code is here
Code:
                var iu = new ImageUploaderWriter("ImageUploader", "100%", 400);

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

                //For Java applet only path to directory with JAR files should be specified (without file name).
                iu.javaAppletEnabled = false;
                iu.javaAppletCodeBase = "./";
                iu.javaAppletCached = true;
                iu.javaAppletVersion = "2.0.50.0";

                iu.showNonemptyResponse = "off";

                //Configure appearance.
                iu.addParam("PaneLayout", "ThreePanes");
                iu.addParam("BackgroundColor", "#ffffff");
                iu.addParam("PreviewThumbnailSize", "72");
                iu.addParam("ShowDescriptions", "false");
			    iu.addParam("ThumbnailVerticalSpacing", "5");
			    iu.addParam("ThumbnailHorizontalSpacing", "5");
			    iu.addParam("ShowContextMenu", "true");
			    iu.addParam("MaxFileCount", "50");
			    iu.addParam("MaxFileSize", "10000000");
			    iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe");
			    
                iu.addParam("AllowTreePaneWidthChanging", "true");
                iu.addParam("TreePaneWidth", "260");
			    iu.addParam("FolderPaneHeight", "180");
			    iu.addParam("FolderView", "Details");
			    iu.addParam("UploadView", "Details");
			    
			    iu.addParam("ShowButtons", "false");
			    iu.addParam("SilentMode", "false");
				
			    iu.addParam("ShowDebugWindow", "false");
			    iu.addParam("AdditionalFormName", "aspnetForm");
			    iu.addParam("EnableRotate", "false");
			    
			    iu.addParam("UncheckUploadedFiles", "true");

                //Configure URL files are uploaded to.
                iu.addParam("Action", "UploadPhotos.aspx?upload=true");

                //Tell Image Uploader writer object to generate all necessary HTML code to embed 
                //Image Uploader to the page.
                iu.writeHtml();


I tried to create a folder with 1000 images in total 1.66GB file sizes
Then I used ImageUploader4 to browse in the folder and do nothing
The CPU usage kept on 100% for at least 6 minutes

Please check this for me

Regards,
Jerry

Edited by user Tuesday, February 19, 2008 1:37:31 PM(UTC)  | Reason: Not specified

eg_hch  
#4 Posted : Sunday, September 3, 2006 1:15:12 PM(UTC)
eg_hch

Rank: Member

Groups: Member
Joined: 6/13/2006(UTC)
Posts: 22

Can anyone answer me?

Jerry
Alex Makhov  
#5 Posted : Tuesday, September 5, 2006 5:18:32 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

Image Uploader creates the thumbnails for the files in background thread event in Details mode. So this is a reason of high CPU usage. Thumbnail generation is made to allow user to see the thumbnails when he switches to the Thumbnails mode. We are not planning to change this behavior at the near time. If you want this feature to be implemented feel free to write to sales@aurigma.com.
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.