Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Cannot upload files with extensions like JPG, pnG, Gif using ['jpg', 'png', 'gif'] allowed extensions array #16

Closed
AlexUsovich opened this issue Mar 23, 2017 · 0 comments

Comments

@AlexUsovich
Copy link

Is it possible to implement functionality to allow to upload files with such extensions that can be simply transformed to lower case and then compared to those that defined at allowedExtensions? That can be done at https://github.com/ribizli/ng2-imageupload/blob/master/src/image-upload.directive.ts or another idea to add option like strictMode: boolean that can be true/false. Then if false we can compare extension with a lower case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant