ng2-file-input | Angular 2 component that implements a drag and drop | Widget library
kandi X-RAY | ng2-file-input Summary
kandi X-RAY | ng2-file-input Summary
Angular 2 component that implements a drag and drop or select file selection, including preview.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ng2-file-input
ng2-file-input Key Features
ng2-file-input Examples and Code Snippets
Community Discussions
Trending Discussions on ng2-file-input
QUESTION
Here i am input image using of ng2-file-input, Image is input successfully but image showing on web page so when i upload image i don't want image showing in web page wan to hide image because it uploaded back-end.Below i shared my HTML code. If you have any query please ask me in comments i will clarify.Thank you in advance.
...ANSWER
Answered 2019-Mar-18 at 11:27In Your code please check in your
showPreviews:true;
change to false and stop showing preview of uploading images
QUESTION
How to validate image size? (ex: less than 2MB) I'm using ng2-file-input for image uploading in my angular4 project.
`
...ANSWER
Answered 2017-Nov-10 at 09:14try this, that will call the service only one time, if there is one of more invalid files:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ng2-file-input
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page