ribizli / ng2-imageupload

A component which resizes the selected file image
29 stars 10 forks source link

Should it always be an input element to upload the image? #10

Closed saiyaff closed 7 years ago

saiyaff commented 7 years ago

Can we customise the button or can't we add an area or another icon to the image-upload? Sometimes for pretty UIs this button with choose file doesn't match at all. Or is there any ways to achieve my requirement? I am working on an Angular-CLI project with web-pack.

ribizli commented 7 years ago

It is a must to use HTMLFileInput component to get File objects in Javascript. Please search for a CSS solution for your problem, there are a lot of out there.

saiyaff commented 7 years ago

Thanks for this @ribizli