max file size by mime type #738

Open
opened 2017-04-10 10:01:26 +00:00 by ChrisDevinePimss · 0 comments
ChrisDevinePimss commented 2017-04-10 10:01:26 +00:00 (Migrated from github.com)

Would we be able to use max file size with a key value pair list. So that each mime type can have its own max file size?

eg.

var maxFileSizes= {
'image/png': 2048,
'image/jpeg': 1024
};

Would we be able to use max file size with a key value pair list. So that each mime type can have its own max file size? eg. var maxFileSizes= { 'image/png': 2048, 'image/jpeg': 1024 };
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#738