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

Notification

Icon
Error

Options
Go to last post Go to first unread
ilmari  
#1 Posted : Tuesday, July 19, 2011 1:55:19 AM(UTC)
ilmari

Rank: Newbie

Groups: Member
Joined: 7/15/2011(UTC)
Posts: 3

Thanks: 1 times
When selecting images to upload using Image Uploader Flash 7.2.2 on Linux, the fileMask restriction is applied case-sensitively, so that with the below config, I can not select files with upper-case extensions.

On Windows the mask seems to be case insensitive, though.

Code:

	restrictions: {
		fileMask: [
			['JPEG Images (*.jpg; *.jpeg; *.jpe)', '*.jpg;*.jpeg;*.jpe']
		]
	}

Edited by moderator Tuesday, July 19, 2011 2:14:45 AM(UTC)  | Reason: Not specified

p.shirykalova  
#2 Posted : Tuesday, July 19, 2011 2:50:56 AM(UTC)
p.shirykalova

Rank: Advanced Member

Groups: Member
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hello,

Please try to use this code:

Code:
 restrictions: {
        fileMask: [
            ['JPEG Images (*.jpg; *.jpeg; *.jpe)', '*.jpg;*.jpeg;*.jpe;*.JPG;*.JPEG;*.JPE']
        ]
    }

Edited by user Thursday, September 22, 2011 11:59:20 PM(UTC)  | Reason: Not specified

Best regards,
Pauline Shirykalova
Aurigma Technical Support
ilmari  
#3 Posted : Tuesday, July 19, 2011 2:57:18 AM(UTC)
ilmari

Rank: Newbie

Groups: Member
Joined: 7/15/2011(UTC)
Posts: 3

Thanks: 1 times
p.shirykalova wrote:
Hello,

Please try to use this code:

Code:
 restrictions: {
        fileMask: [
            ['JPEG Images (*.jpg; *.jpeg; *.jpe)', '*.jpg;*.jpeg;*.jpe;*.JPG;*.JPEG;*.JPE']
        ]
    }


Best regards,
Pauline Shirykalova


That won't help if the user has files called .JpEg or .Jpg etc. It would be better if the matching was consistently case-insensitive, regardless of platform. Image Uploader 5 for Java does case-insensitive matching, even on Linux.
p.shirykalova  
#4 Posted : Tuesday, July 19, 2011 3:23:58 AM(UTC)
p.shirykalova

Rank: Advanced Member

Groups: Member
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Unfortunately Image Uploader Flash doesn't support this feature.
We will add it to one of the next versions.

Edited by user Thursday, September 22, 2011 11:59:31 PM(UTC)  | Reason: Not specified

Best regards,
Pauline Shirykalova
Aurigma Technical Support
thanks 1 user thanked p.shirykalova for this useful post.
ilmari on 7/19/2011(UTC)
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.