Aurigma Forums
»
Legacy Products
»
Archive
»
Image Uploader
»
initial Image Uploader performance in large directories
Rank: Member
Groups: Member
Joined: 4/14/2004(UTC) Posts: 25
|
I've noticed that the ImageUploader seems to hang Windows when the default folder which is displayed contains lots of large images. I've set rememberlastfolder to false to work around the problem...but has anyone else noticed this problem or have any other workarounds? I'm using version 2.0x or something. Is that addressed in a later release? By hanging i mean the typical behavior when an application stops responding on windows... Thanks, Jaisen http://www.fotoflix.com
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
This happens because Image Uploader 3.0 has SignatureFilter="Images" by default. Try to turn off it using following code: Code:<param name="SignatureFilter" value="All">
Our next release will have turn off signature filter by default. Edited by user Monday, December 24, 2007 4:23:34 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
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)
|
Also it happens if you enable checks for maximum width/height.
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/14/2004(UTC) Posts: 25
|
For our implementation it's really nice to be able to filter only images.
Is there a way to only enable certain files to be selected for upload (aside from filtering what's displayed)? I wouldn't want to do it strictly on the serverside since the files would have to be uploaded before they're checked for type.
Maybe some javascript to check the extensions of files in the upload list and remove or notify the user for non-image files.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
You can use FileMask property in order to filter files using their extensions. Code:<param name="FileMask" value="*.jpg;*.jpeg;*.jpe;*.gif;*.png;*.tiff;*.tif;*.psd">
Edited by user Monday, October 27, 2008 11:59:40 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/14/2004(UTC) Posts: 25
|
Fedor,
Sorry if i've misunderstood...but isn't the masking what causes the "hanging" for directories with a large number of images?
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Masking is very cheap as we check just file name. On other side when we check file singature, image width or height, we need to read it from file. Opening file is rather expensive operation, that's why it causes "hanging". |
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Legacy Products
»
Archive
»
Image Uploader
»
initial Image Uploader performance in large directories
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.