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

Notification

Icon
Error

Options
Go to last post Go to first unread
sonny  
#1 Posted : Thursday, March 20, 2008 9:48:22 PM(UTC)
sonny

Rank: Member

Groups: Member
Joined: 9/9/2006(UTC)
Posts: 22

Hi All,

Is there a way to restrict what files types can be uploaded?

Thanks
Sonny
thanks in advance,
Sonny
sonny  
#2 Posted : Thursday, March 20, 2008 9:54:23 PM(UTC)
sonny

Rank: Member

Groups: Member
Joined: 9/9/2006(UTC)
Posts: 22

i think i found it. iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.gif;*.png;*.tif;*.tiff;*.psd");

What i didnt realize is that this also restricts image uploader from displaying any file types outside of this list.

Thanks
Sonny
thanks in advance,
Sonny
Fedor  
#3 Posted : Friday, March 21, 2008 3:03:28 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,558

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
Please read Configuring Restriction Rules for Files topic for more info.

Edited by user Monday, October 27, 2008 8:27:44 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
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.